Re: [android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-24 Thread Dianne Hackborn
Xav already posted on this, as someone else pointed out in this thread. (I am not responsible for tools, so I can't speak to this anyway.) On Thu, Sep 23, 2010 at 10:39 PM, Stephen Lebed srle...@gmail.com wrote: Hi Dianne, I was one of the people eagerly awaiting to read how to add Proguard

Re: [android-developers] Sending 2 sticky intents will override the previous one?

2010-09-24 Thread Dianne Hackborn
No they are replaced. To be honest, I would suggest not using sticky intents. I regret having exposed the API to send them. On Thu, Sep 23, 2010 at 10:20 PM, Agus agus.sant...@gmail.com wrote: Dianne, so far I understand the following: If sticky intent B has the same action, categories and

Re: [android-developers] Re: layout issue

2010-09-24 Thread Rocky
Hey u need to implement like - private static class EfficientAdapter extends BaseAdapter { private LayoutInflater mInflater; public EfficientAdapter(Context context) { mInflater = LayoutInflater.from(context); } public int getCount()

[android-developers] Can we send MMS from one emulator to another emulator.

2010-09-24 Thread nomi
Hi to all, In my dummy application i want to send MMS. But i don't know how to check it.I know that we can send SMS from one emulator to another but, is it possible for MMS? If yes then how it can be done. Thanks to all. -- You received this message because you are subscribed to the Google

[android-developers] Re: android.app.Application NullPointerException

2010-09-24 Thread parag
m not 100% sure but i feel this could help http://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle) but i feel if u can save the state of the objects onSaveInstanceState(android.os.Bundle) and restore them on

[android-developers] Re: New ADT available.

2010-09-24 Thread Zarah Dominguez
Saw this problem too. Tried uninstalling then re-installing the plugins, but still no Android options anywhere. Eclipse sees my Android projects as Java projects. Were you able to solve it? - Zarah. On Sep 24, 10:02 am, String sterling.ud...@googlemail.com wrote: I'm unable to upgrade my

[android-developers] Re: Anyone else ever submitted to Motorola Shop4Apps? I did and so far it seems dismal - share your experience?

2010-09-24 Thread Indicator Veritatis
They are taught English in school, but they are not very good at it. So they do feel a lot more comfortable with a phone and applications on it that use Chinese correctly -- even if it uses characters they haven't learned in school yet. On Sep 21, 7:27 am, niko20 nikolatesl...@yahoo.com wrote:

[android-developers] How to fix: method getSharedPreferences(String, int) is undefined?

2010-09-24 Thread Mystique
Hi, I have the following code but there is an error: The method getSharedPreferences(String, int) is undefined for the type EventsData. Does it mean I need to extend both SQLLiteOpenHelper and Activity? How to do that or how to fix this? Many thanks. ---code--- import android.content.Context;

[android-developers] Re: Any way to force screen orientation to landscape right as of Froyo?

2010-09-24 Thread newbyca
BAH, oh well ... thanks for the fast response tho :) On Sep 24, 12:45 am, Dianne Hackborn hack...@android.com wrote: Sorry, no. On Thu, Sep 23, 2010 at 9:39 PM, newbyca newb...@gmail.com wrote: we currently use Activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_x) to

[android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-24 Thread Indicator Veritatis
Google has too long a history of stonewalling and foot dragging. You NEED that kind of 'motivation' -- unless you finally learn to take responsibility for committing to fix your bugs without such unpleasant prodding. When, for example, are you going to fix AAC+ support in StageFright? When will

[android-developers] AudioManger and ACTION_SCO_AUDIO_STATE_CHANGED

2010-09-24 Thread Anzi
Hi, I am registered for ACTION_SCO_AUDIO_STATE_CHANGED action during run time. But my receiver not called, even if i try to connection the bluetooth headset using AudioManger.startBluetoothSco() Or by using the bluetooth settings. Help me if any one is familiar with this. Regards, Anzi --

[android-developers] Re: New ADT available.

2010-09-24 Thread Zarah Dominguez
Hi again, Was able to make it work by uninstalling Eclipse, including all versions in /Users/My Name/.eclipse, re-installing it then adding the Update site again. -Zarah. On Sep 24, 2:27 pm, Zarah Dominguez zarah.doming...@gmail.com wrote: Saw this problem too. Tried uninstalling then

[android-developers] Delete SMS

2010-09-24 Thread perumal316
Hi All, I am writing my own SMS application that will display a toast of my message once it arrive. Now is it possible to delete the message after the display of the toast, so that it will not go into the native SMS application? Thanks In Advance, Perumal -- You received this message because

[android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-24 Thread gjs
Hi, I'd love to be in a position of being concerned about piracy, LVL, Progard obfuscated stack traces. But alas I'm still one of the many dev's situated in a region (Australia) were I can buy apps from the Android Market but not publish a paid app. This is a big ongoing disincentive and

Re: [android-developers] Re: Layar API

2010-09-24 Thread Pedro Teixeira
Yeah.. I figured that out :/ Open ... until their limits.. so Apple'ish Anyway, can't I even include Layar in my application? Even If I have to use all their design and code? Does anyone know other markerless examples? ARToolKit and probably the spinoffs make use of markers which is

[android-developers] New app listing order in Market app search

2010-09-24 Thread Mark Carter
Before today, when entering a search term into the Market app, the results at the top of the search would all be exact matches of that search term against the app name. For example, type translate and the user will see all the apps called translate before the Google Translate result (which is by

Re: [android-developers] Re: Layar API

2010-09-24 Thread Pedro Teixeira
Ok I've decided for Wikitude which is the one that seems to have the requirements I need. Thank you for your answer ;) On Sep 23, 2010, at 3:26 PM, JP wrote: I understand there is no API for Layar. You can become a developer which in Layar's world means adding content and presentation

[android-developers] Re: Sipdroid build problem

2010-09-24 Thread maxsap
Thank you a lot Kostya, you have to use -t 8 to build it correctly, this is a problem posted on a lot of sites but no answer yet, but that worked I am going to post it on sipdroids forums to help others as well. regards maxsap -- You received this message because you are subscribed to the Google

[android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Brad Gies
Anyone know why I would be getting the errors below. The message below is showing up in the Console view, and I'm getting a Conversion to Dalvik format failed with error 1. My app has been working quite well for some time, and I just tried to update the SDK and DDMS to 0.9.9, and now it

[android-developers] Re: ListView with rows that contain a button

2010-09-24 Thread viktor
Hi John, it is possible, in my example, I use ListView and all list items contain button (LinearLayout with selector), it works fine, I can push on item or on button. And I set click listener for all buttons. I hope my information will be helpful. -- You received this message because you are

Re: [android-developers] GPRS Problem

2010-09-24 Thread neeta rayate
hi, I think in that u have to add permission in Manifest file that Fine Access Location. regards Neeta On Fri, Sep 17, 2010 at 2:14 PM, Muhammad Irfan iffe...@gmail.com wrote: Hi, In mainfest file plz add the internet permissions after the application tag. Here is sample comde...

Re: [android-developers] Can we send MMS from one emulator to another emulator.

2010-09-24 Thread David Turner
Unfortunately no, Briefly, the MMS protocol requires active participation from the base stations, which are not emulated. On Fri, Sep 24, 2010 at 8:20 AM, nomi nomeshga...@gmail.com wrote: Hi to all, In my dummy application i want to send MMS. But i don't know how to check it.I know that

[android-developers] Ant build with Proguard (per blog) not obfuscating

2010-09-24 Thread Anm
The timing of this week's blog post was perfect. It was exactly what I intended to do today. And the extra Ant step worked fine, and I can see Proguard obfuscate my files into bin/obf/obfuscated.jar (yes, I tweaked the file names and paths a little bit), the resulting App- release.apk does not

[android-developers] Re: Ant build with Proguard (per blog) not obfuscating

2010-09-24 Thread sblantipodi
what is the blog post you are talking about? On Sep 24, 11:22 am, Anm andrew.n.marsh...@gmail.com wrote: The timing of this week's blog post was perfect.  It was exactly what I intended to do today.  And the extra Ant step worked fine, and I can see Proguard obfuscate my files into

[android-developers] Re: Activity onResumed not getting called

2010-09-24 Thread Albert
Is it possible by using different activity attributes to: -Have the app launch from the last activity IF the process of the app has not being killed The issue is that the info that the app needs is downloaded and parsed at the entry point of the app, then depending of where you go it downloads

[android-developers] Android market time to refund.

2010-09-24 Thread sblantipodi
Hi, can you refresh my mind please? How much time a customers have to ask for a refund once he bought our software from the market? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] How to decrypt an XML file?

2010-09-24 Thread draf...@gmail.com
0 down vote favorite I am trying to to download and decrypt an encrypted XML file. I have implemented the download part and have tested with an unencrypted file and it works fine. However I now need to be able to download an XML file that has been encrypted using AES and the key So I

[android-developers] Re: Http chunked response and Connection Reset by Peer error

2010-09-24 Thread Cydrike
There's nothing in logcat apart from garbage collector actions. I'm already listening to ConnectivityManager (ConnectivityManager.CONNECTIVITY_ACTION) and TelephonyManager (PhoneStateListener.LISTEN_DATA_CONNECTION_STATE) events to track network modifications. Nothing is caught when the problem

[android-developers] Re: Can we send MMS from one emulator to another emulator.

2010-09-24 Thread Ketan Parmar
It there any other way to test MMS send/receive ? any third party utility ? sendbox type ? On Sep 24, 2:21 pm, David Turner di...@android.com wrote: Unfortunately no, Briefly, the MMS protocol requires active participation from the base stations, which are not emulated. On Fri, Sep 24,

[android-developers] Re: Simple Context Menus

2010-09-24 Thread Brion Emde
You should look at the Context menu examples in this article: http://developer.android.com/guide/topics/ui/menus.html You are setting up an Options menu, not a context menu. On Sep 23, 7:40 pm, rb rbs...@gmail.com wrote: Hi, I am attempting to create a simple context menu that will show

[android-developers] Re: How to remove a notification with flag FLAG_NO_CLEAR ?

2010-09-24 Thread NRV
OK, I found the problem. In fact there where 2 problems : - I have to restart completely the emulator between each code change. Redeploying the application usually works, but, for some strange reason not with the notifications. - I was keeping a reference on the notification. I now recreate a new

[android-developers] Re: LVL returns LICENSED with anonymous accounts...

2010-09-24 Thread MarcoAndroid
Update: I uploaded and saved my exported signed app via the dev- console but did not publish it. With my test account on N1 I am now able to get returned from LVL what I set in the dev console. So I'm not always getting LICENSED back, but what I set the test response to, so it is configurable, so

[android-developers] Question about rotate bitmap with Canvas.rotate

2010-09-24 Thread chaozh
As we know, we can rotate a bitmap through 2 ways. The 1st way is: Matrix mt = new Matrix(); mt.postRotate(degree); Bitmap bitmap = CreateBitmap(src, 0, 0, w, h, mt, true); canvs.drawBitmap(bitmap, 0, 0, paint); In this way, we always need create new bitmap for every rotation, it is not good way

[android-developers] Re: UnsatisfiedLinkError: Library XXXX not found

2010-09-24 Thread DanH
You've got to be real careful about loading native classes, and, in particular, not load them twice under two different loaders. (At least that's my vague recollection.) On Sep 23, 10:12 pm, ls02 agal...@audible.com wrote: So what's the proper way to deal with such issue? On Sep 23, 10:39 pm,

[android-developers] Re: Question about rotate bitmap with Canvas.rotate

2010-09-24 Thread Andreas
1) You should avoid to creat a new Matrix every time you call the draw funktion. You can to this by passing a static Matrix Reference to your draw function. 2) Creating bitmaps on a draw Method is not good performance wise. Preload the Images you want up in front. 3) On Canvas drawing you have a

[android-developers] Synchronization period

2010-09-24 Thread Roman Mazur
What is the method to define a sync period for some account? ContentResolver allows to set automatic sync flag only. But what is period? Have I missed something? Or have I to schedule sync requests myself using the AlarmManager? Thanks. -- You received this message because you are subscribed to

[android-developers] HTC Wildfire didn't find my app on the market

2010-09-24 Thread Marco Alexander Schmitz
Hi, I'd like to speak about a very strange problem. The HTC Wildfire (OS 2.1) didn't find my app at the android market, altough HTC Magic (OS 1.6), HTC Desire (OS 2.2) and Nexus One OS 2.2) do so. This was my problematic scenario: default.properties: target=android-3 AndroidManifest.xml:

[android-developers] Twitter on 1.5 sense aka hero off of G1

2010-09-24 Thread William Dizon
I've been flashing some old 1.5 firmware versions of the Hero rom for my G1 and the Twitter app doesn't respond. I did my whole sign in thing with success bit the app keeps giving me a Unknown response from Twitter.com. Is there a way to fix this? Thankyou, Bill -- You received this message

[android-developers] Re: Question about rotate bitmap with Canvas.rotate

2010-09-24 Thread chaozh
Hi: Thanks your reply. Your suggestion is good, I've optimized these in my real code. The above is just simple example. The source bitmap is preloaded before, but for solution 1, the rotation bitmap always be created as need. This is performance key in my codes. I don't want to create it every

[android-developers] Re: Image Zomming using finger touch.

2010-09-24 Thread Spiral123
The Sony Ericsson guys did a tutorial on this: http://blogs.sonyericsson.com/developerworld/2010/05/18/android-one-finger-zoom-tutorial-part-1/ On Sep 23, 3:31 pm, Ajmer Singh ajmersing...@gmail.com wrote: Hi All I need to implement the Image zoom in and zoom out functionality using the

[android-developers] Task Manager Killing process. Incomplete kill.

2010-09-24 Thread Ajith Kamath
Hi all I am facing following issue with respect to FORCE KILL : Following is done after BT is on: 1. idle - applications - gallery - camera - Select any one image 2. menu - share - bluetooth - 'scan for devices' touch After this our task manager app is activated by home key longpress. i kill

Re: [android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-24 Thread Xavier Ducrohet
We are working on direct support in ADT/Ant. We just decided to release a quick blog post on how to manually add this to Ant since it's somewhat easy to do (unlike ADT). However, proguard does need to know about which class to not obfuscate and there is no way we can figure it out

Re: [android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-24 Thread Xavier Ducrohet
BTW, I would be interested in hearing the problem people have switching between Ant and ADT. We are trying to make sure that one can use both at the same time. I think it makes sense to use ADT during development but use Ant for automated builds for instance. I do realize Ant is much more

[android-developers] LVL licensing and versioning question

2010-09-24 Thread MarcoAndroid
Hello, Using the licensing technique described here http://developer.android.com/guide/publishing/licensing.html I'm trying to test what happens when: - I would upgrade my LVL protected app to a new version - Some user hasn't upgraded yet Will the user with the old version still be able to

Re: [android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-24 Thread Justin Giles
I think for most of us it is just the idea of going from a familiar, known setup to something new with potential pitfalls that could potentially cause delay in releasing apps initially. I personally look forward to trying the build with Ant as I like to customize things, however, it seems that

[android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread Donal Rafferty
Updated Code: public NodeList getRoutingDoc(){ URL url; NodeList nl = null; try{ String xmlFeed = context.getString(R.string.xml_feed) + IMEI + .xml; try { url = new URL(xmlFeed); URLConnection urlConnection;

[android-developers] Re: Activity onResumed not getting called

2010-09-24 Thread Albert
-Have the app launch from the last activity IF the process of the app has not being killed OK, it now works and behaves as I wanted. I could not do it through activities attributes so I set a static variable that would signal whether the process is alive or dead, if dead I just launch my main

[android-developers] How to generate a java doc for an android project?

2010-09-24 Thread Lidia
Hello to all, Does someone know how to generate a javadoc for an android project? I found searching the net this info http://www.androidjavadoc.com/?p=63 , but i don't understand where can i find the file droiddoc.mk: All javadoc stuff is concentrated in the ROOT/build/core/droiddoc.mk Please

[android-developers] recv failed, errno = 11 (Try again) when trying to play video from certain hosts

2010-09-24 Thread Aleksander Kmetec
Hello, everyone! Whenever I try to play a video from certain hosts (in this case it's Softlayer's CDN) I get the Sorry, this video cannot be played error. Just before te error, several E/HTTPStream( 67): recv failed, errno = 11 (Try again) messages get written to the device log. The same thing

Re: [android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Xavier Ducrohet
Hi, First, you can ignore the error about missing sdk.properties, that's not important (especially if you don't compile against API 5 or 6). It is a stupid bug though and it should get fixed. What version of ADT did you update from? ADT 0.9.9 is really just a minor fix from ADT 0.9.8 (released 2

[android-developers] Re: Threading and the emulator

2010-09-24 Thread kypriakos
Hey Chris not a bad idea - I will give that a shot. I do see the gc endlessly working during and around the suspension time. Thanks On Sep 24, 12:29 am, Chris Stratton cs07...@gmail.com wrote: Garbage collecting might suspend your thread.  But then so might trying to write to the log when

Re: [android-developers] Ant build with Proguard (per blog) not obfuscating

2010-09-24 Thread Xavier Ducrohet
some classes will not be obfuscated like classes extending Activity, Service, and other classes referenced in the manifest. The way the obfuscation works is that it creates a jar file of your application code (should be in bin/obf/original.jar I think) which is then obfuscated. This is the line:

Re: [android-developers] Re: New ADT available.

2010-09-24 Thread Xavier Ducrohet
hmm I'm not sure why this would happen. Did you update from 0.9.7 or from 0.9.8 (released 2 weeks ago). 0.9.9 is just a very minor fix over 0.9.8 Xav On Thu, Sep 23, 2010 at 11:27 PM, Zarah Dominguez zarah.doming...@gmail.com wrote: Saw this problem too. Tried uninstalling then re-installing

[android-developers] Re: Android market time to refund.

2010-09-24 Thread Streets Of Boston
Customers can uninstall their app within about 24-48 hours (the exact number of hours is not quite clear to me), without your intervention and their purchase is nullified. After that period, their credit-card (through Google Checkout) gets charged and the purchase has been made. Customers can no

[android-developers] How do I override

2010-09-24 Thread petter
templates/android_rules.xml has a javac rule which says: javac encoding=ascii ... How can I override this to use UTF-8 from my own build.xml file? It seems like one should be able to use presetdef to override this, but I can't figure out how. //Petter -- You received this message because you

[android-developers] Re: ListView with rows that contain a button

2010-09-24 Thread John Gaby
Thanks for the reply. Did you do anything special to make it work? Can you suggest why it is not working for me? I am using a custom ViewGroup for the row views. Is there something I need to be doing there? Thanks On Sep 24, 2:11 am, viktor victor.scherb...@gmail.com wrote: Hi John, it is

Re: [android-developers] How do I override

2010-09-24 Thread Xavier Ducrohet
Right now, your only choice is to duplicate the whole compile target into your build.xml file. Copy it before the call to the custom task setup, and edit the parts you want (in this case the encoding). Xav On Fri, Sep 24, 2010 at 7:30 AM, petter petter.gus...@gmail.com wrote:

[android-developers] Re: How do I override

2010-09-24 Thread petter
Thank you for your reply Xavier. OK, I'll just duplicate the whole compile target which seem to work fine, except that I was hoping to find a way of simply overriding the single encoding attribute... //Petter -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Install to sd and alarms

2010-09-24 Thread Peter Sinnott
I am thinking of adding install to sd support to my app but it seems sd and the alarms manager do not mix well. So far I have tried receiving ACTION_MEDIA_MOUNTED intents so I can reregister my alarms but the intent is never fired. Is there any easy hook I can use to register alarms when my app

Re: [android-developers] Re: Android market time to refund.

2010-09-24 Thread TreKing
On Fri, Sep 24, 2010 at 9:08 AM, Streets Of Boston flyingdutc...@gmail.comwrote: Customers can uninstall their app within about 24-48 hours (the exact number of hours is not quite clear to me), without your intervention and their purchase is nullified. Offiically it's 48 hours. TOS, 3.4: You

[android-developers] TableLayout text wrapping issue

2010-09-24 Thread Doug Gordon
I was configuring a two-column table where the TextView column on the right sometimes has a long text string and I wanted it to wrap around and expand the table cell vertically as it would in HTML. I found that I had to configure the TextView with layout height width of wrap_content in order

Re: [android-developers] Re: How do I override

2010-09-24 Thread Xavier Ducrohet
since the encoding attribute value is encoded that's not possible. I'm going to make it a property so that you'll be able to override it. Quite a simple change really. On Fri, Sep 24, 2010 at 7:56 AM, petter petter.gus...@gmail.com wrote: Thank you for your reply Xavier. OK, I'll just

[android-developers] Re: Getting Images From Gallery - Not All Work?

2010-09-24 Thread Matt M
Any help truly appreciated! On Sep 24, 12:27 am, Matt M matthew.mag...@gmail.com wrote: Hello, I am simply trying to get the path of an image that the user selects and then convert it into a bitmap. The problem is, only some of the images in the gallery work when selected (by work I mean

[android-developers] Re: trying to get checkbox and image in same line

2010-09-24 Thread Wall-E
This is the image of what's happening: http://imgur.com/mvOgL.png What I want is for the lightbulb image/animation to be next to the text ('1'). What is happening is that when I set the animation it places it correctly in the ImageView I created inside the LayoutView but when I add the

[android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread Donal Rafferty
Another update: I have changed the code to test encryption first and then decryption so the code is now as follows: [CODE]Cipher c = Cipher.getInstance(AES/CFB8/NoPadding); ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(keyFile)); oos.writeObject(skeySpec);

[android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread DanH
There are a lot of subtleties to encryption/decryption having to do with block size, pre-priming the buffers, and padding at the end. It's more than just getting the algorithm and key right. On Sep 24, 4:44 am, draf...@gmail.com draf...@gmail.com wrote:  0  down vote  favorite I am trying to

Re: [android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Brad Gies
Thanks for the quick reply Xav, but I guess you're off the hook :). I was using 0.9.7 Never got around to updating to 0.9.8 :). BUT... this morning, I can't duplicate the problem. All I did, was changed the build to verbose, added one space to one of my strings to force it to rebuild, and it

Re: [android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread Donal Rafferty
I am aware of that. Hence why I am asking for help in identifying which subtlety may be causing the issue. On Fri, Sep 24, 2010 at 4:51 PM, DanH danhi...@ieee.org wrote: There are a lot of subtleties to encryption/decryption having to do with block size, pre-priming the buffers, and padding

[android-developers] Cannot select rows from a ListView which contains Button controls

2010-09-24 Thread John Gaby
I have the following, very simple test program for using a ListView. I create a ListView and set it as the content view. I set a ListAdapter which supplies the rows. There are 30 rows, and each row consists of a LinearLayout ViewGroup. Into that ViewGroup, I place a TextView and a Button. When

[android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread DanH
Why are you specifying an initialization vector for decrypt and not encrypt? On Sep 24, 10:37 am, Donal Rafferty draf...@gmail.com wrote: Another update: I have changed the code to test encryption first and then decryption so the code is now as follows: [CODE]Cipher c =

[android-developers] Dropping support for 1.5, separate build for those users on marketplace?

2010-09-24 Thread Mark Wyszomierski
Hi, Is there a way to leave a version of an app on the marketplace (which is 1.5 compatible) and then put up a new version which is 1.6 and above compatible? The idea being that any 1.5 users going to marketplace can only download the 1.5 version, everyone else sees the 1.6+ version? I'm running

Re: [android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Brad Gies
Just for future reference, I think I figured out what happened, and I'm pretty sure it's the same thing that happened with the guys in the other thread (New ADT Available). When I updated, I still had my project open. After the update, I got a million errors about missing imports (all

Re: [android-developers] Re: trying to get checkbox and image in same line

2010-09-24 Thread TreKing
On Fri, Sep 24, 2010 at 10:35 AM, Wall-E bashee...@gmail.com wrote: What is happening is that when I set the animation it places it correctly in the ImageView I created inside the LayoutView but when I add the CheckBox which is done dynamically it goes to the next line. Ah, I see. I think

[android-developers] Re: UnsatisfiedLinkError: Library XXXX not found

2010-09-24 Thread ls02
But we have one single shared library that is used by numerious classes and instances. Note, the problem occurs very seldom. I never personally saw it. On Sep 24, 7:38 am, DanH danhi...@ieee.org wrote: You've got to be real careful about loading native classes, and, in particular, not load them

Re: [android-developers] Dropping support for 1.5, separate build for those users on marketplace?

2010-09-24 Thread TreKing
On Fri, Sep 24, 2010 at 11:32 AM, Mark Wyszomierski mar...@gmail.comwrote: Any way to do this? Set the 1.5 version to max and target SDK = 3 and the 1.6+ version to maxSDK = 8 (or whatever) and target to whatever you prefer, then update to Market. It should automatically filter your apps based

[android-developers] Increase Internet speed by 20%

2010-09-24 Thread Sami
http://softsami.blogspot.com/2010/09/you-know-that-microsoft-uses-20.html -- 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: UnsatisfiedLinkError: Library XXXX not found

2010-09-24 Thread DanH
This is an area that is poorly described in the docs (if at all). The real specification is in the JCK test cases, which is why I gained a slight familiarity with it. You have to read the test cases and figure out why your Java implementation is failing them to understand the spec. My vague

[android-developers] Re: UnsatisfiedLinkError: Library XXXX not found

2010-09-24 Thread DanH
Ah, it kinda came back to me a little more. In your particular case where you have multiple classes referencing the lib you see this: Native class A is loaded under loader X and loads the lib under that loader. Native class B is loaded under loader Y and attempts to load the lib under that

[android-developers] Tool/Tab Bar at bottom with HTC Sense-like UI?

2010-09-24 Thread belliott
I am new to Android development and trying to figure out how to create an HTC Sense-like toolbar at the bottom of my screen. This would be like the People app on the HTC Droid Incredible that has icons at the bottom and clear black button that sliders horizontally over the black and white icons.

Re: [android-developers] Dropping support for 1.5, separate build for those users on marketplace?

2010-09-24 Thread Mark Wyszomierski
Right now, I'll generate two apks: Foo.apk Foo-1.5-final.apk They'll both have the same package names. Should I just change the 'versionName' in the manifest: // Foo.apk manifest android:versionName=Foo / // Foo-1.5.apk manifest

[android-developers] Re: HTC Wildfire didn't find my app on the market

2010-09-24 Thread Lance Nanek
The Wildfire is a small screen device. The change you did changes the default for if your app supports small screen devices. Documented here: http://developer.android.com/guide/topics/manifest/supports-screens-element.html On Sep 24, 7:53 am, Marco Alexander Schmitz

[android-developers] Re: New ADT available.

2010-09-24 Thread Zarah Dominguez
Hi Xav, I updated from 0.9.7 to 0.9.9. I haven't updated my other workstation though (it's also still on 0.9.7), how do you suggest I proceed? Uninstalling and then installing Eclipse seems to be a lot of trouble for a plug in update. Any ideas? :) Thanks, Zarah. On Sep 24, 10:08 pm,

[android-developers] Designing TabHost

2010-09-24 Thread FrEaKmAn
Hello I'm trying to design 2 custom tabs in my TabHost. I apply a ?xml version=1.0 encoding=UTF-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_selected=true shape stroke android:width=1dp

[android-developers] Re: Dropping support for 1.5, separate build for those users on marketplace?

2010-09-24 Thread Pent
They'll both have the same package names. Should I just change the 'versionName' in the manifest: Market won't let you upload two different apps with the same package name. Wouldn't for me, anyway. I have a separate cupcake build, but the package name has 'cupcake' appended. I set: Cupcake:

[android-developers] Re: Capturing / saving a download link

2010-09-24 Thread Lance Nanek
http://developer.android.com/reference/android/webkit/WebViewClient.html#shouldOverrideUrlLoading%28android.webkit.WebView,%20java.lang.String%29 On Sep 23, 12:23 pm, Neilz neilhorn...@gmail.com wrote: Hi all. I have a WebView, which will contain links to documents, in this case PDF files. The

[android-developers] Re: New ADT available.

2010-09-24 Thread Mark Carter
I can confirm there was no problem updating from 0.9.8 to 0.9.9. On Sep 24, 7:25 pm, Zarah Dominguez zarah.doming...@gmail.com wrote: Hi Xav, I updated from 0.9.7 to 0.9.9.  I haven't updated my other workstation though (it's also still on 0.9.7), how do you suggest I proceed? Uninstalling

Re: [android-developers] Re: Image Zomming using finger touch.

2010-09-24 Thread Ajmer singh
Hi Thanks for your reply it did help a lot. On Fri, Sep 24, 2010 at 5:53 PM, Spiral123 cumis...@gmail.com wrote: The Sony Ericsson guys did a tutorial on this: http://blogs.sonyericsson.com/developerworld/2010/05/18/android-one-finger-zoom-tutorial-part-1/ On Sep 23, 3:31 pm, Ajmer Singh

Re: [android-developers] Re: Dropping support for 1.5, separate build for those users on marketplace?

2010-09-24 Thread Mark Wyszomierski
Market won't let you upload two different apps with the same package name. Ah ok that's what I was thinking. Ok thanks for all the info, Mark On Fri, Sep 24, 2010 at 1:37 PM, Pent tas...@dinglisch.net wrote: They'll both have the same package names. Should I just change the 'versionName'

Re: [android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Brad Gies
Just as a follow up to my previous email, and with a little more clarity now that I am fully awake I think the moral of the story is Don't be an idiot and update the Android tools with your project open ;). I'm fairly sure this is exactly what happened: When the Android SDK/DDMS was

Re: [android-developers] How to fix: method getSharedPreferences(String, int) is undefined?

2010-09-24 Thread TreKing
On Fri, Sep 24, 2010 at 1:43 AM, Mystique joven.ch...@gmail.com wrote: The method getSharedPreferences(String, int) is undefined for the type EventsData. Does it mean I need to extend both SQLLiteOpenHelper and Activity? It means the the method you are trying to use,

[android-developers] Re: Setting layout attributes based on android OS version?

2010-09-24 Thread Mark Wyszomierski
Using a relative layout did help in this case - after some more testing, I found that TextView is still causing problems when maxLines=1 / singleLine=true. Taking the same relative layout, I can toggle those on and off, and cause a stackoverflowexception when they're on. This is only on 1.5, later

Re: [android-developers] Re: Ant build with Proguard (per blog) not obfuscating

2010-09-24 Thread TreKing
On Fri, Sep 24, 2010 at 4:33 AM, sblantipodi perini.dav...@dpsoftware.orgwrote: what is the blog post you are talking about? http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html If you're on this list, you should probably also be following this blog.

[android-developers] GeoCoding fails after SDK upgrade to 8

2010-09-24 Thread Bret Foreman
I recently upgraded my SDK from 7 to 8. One of my applications uses Google GeoCoding, specifically the Geocoder object. After the upgrade, when I call the getFromLocation method, it doesn't return any addresses and I see a message in the logcat to the effect that GLS failed with status 20. My

Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

2010-09-24 Thread Mark Carter
Yes, the problem is for apps which have neither been published nor are in draft. In this scenario, it really does not make sense that the response is based on the user's developer console settings. It would be much better if it always returned ERROR_NOT_MARKET_MANAGED. On 24 September 2010

[android-developers] HTC Legend missing BOND_BONDING

2010-09-24 Thread Rafał Grzybowski
I need to discover Bluetooth pairing phase in order to modify my application behavior, for instance not to close the connection during onPause. I decided to listen for ACTION_BOND_STATE_CHANGED and discover BOND_BONDING state and it worked well. At least for my HTC Wildfire, but for HTC Legend

Re: [android-developers] Re: Setting layout attributes based on android OS version?

2010-09-24 Thread Kostya Vasilyev
Sure, you can use alternative resource qualifiers with layout, including API version. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.09.2010 22:23 пользователь Mark Wyszomierski mar...@gmail.com написал: Using a relative layout did help in this case - after some more testing, I found

Re: [android-developers] Re: Setting layout attributes based on android OS version?

2010-09-24 Thread Kostya Vasilyev
Correcting myself - you need to do it the other way around: layout-v4 -for 1.6 and later layout-used by default on 1.5 -- Kostya 24.09.2010 23:33, Kostya Vasilyev пишет: Sure, you can use alternative resource qualifiers with layout, including API version. --

[android-developers] Re: Internet connection is not working in emulator

2010-09-24 Thread Viral Brahmbhatt
Hi, can any one please help me on this? On Mon, Sep 13, 2010 at 11:31 AM, viral viralbrahmbh...@gmail.com wrote: Hi, I am not able to run the internet from my android emulator. whenever I try to run my browser i am getting following error on various platforms Following are some of the

Re: [android-developers] Install to sd and alarms

2010-09-24 Thread Dianne Hackborn
See here: http://developer.android.com/guide/appendix/install-location.html Use this to find out when the app is remounted: http://developer.android.com/reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE However I would generally suggest not doing this. If your app

Re: [android-developers] Install to sd and alarms

2010-09-24 Thread Greg Donald
On Fri, Sep 24, 2010 at 3:28 PM, Dianne Hackborn hack...@android.com wrote:  Apps on SD is mostly intended for large applications that are fairly self-contained (read games and stuff like that). An app being small doesn't stop users from screaming Why can't I move this to my sd card, 1 star!.

  1   2   3   >