[android-developers] why getRotationMatrix undefined for the type SensorManager???

2009-10-02 Thread DD
Hi, I try to use SensorManager.getRotationMatrix(R,I,values,mags); However, the error occurs, saying "The method getRotationMatrix(float [], float[], float[], float[]) is undefined for the type SensorManager" I'm currently using Eclipse with Android SDK 1.5, and I already "import android.hard

[android-developers] Re: How to do some init operation immediately after install

2009-10-02 Thread zhiyazw
Anybody help? --~--~-~--~~~---~--~~ 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-d

[android-developers] Re: Fedora Eclipse doesn't let me install Android's ADT plugin

2009-10-02 Thread Raphael
If you don't manage to fix the dependencies, as an alternative, you can simply get a download of "Eclipse Java" from eclipse.org. You don't need to mess with whatever is installed on your fedora, simply unzip it in any directory under your home dir and execute it from there. E.g. $ cd ~ $ mkdir m

[android-developers] Re: problem in creating table.

2009-10-02 Thread Honest
and the most significant thing is it is giving error that there is no Table exists with the name inbox1. On Oct 2, 5:41 pm, "Mark Murphy" wrote: > > But it did not call onCreate(SQLiteDatabase db) never so can some one > > tell me what can be the issue in it ? > > Here are some possibilities: >

[android-developers] Re: problem in creating table.

2009-10-02 Thread Honest
Hello, Thanks for you reply. So what should i do to call it ? On Oct 2, 5:41 pm, "Mark Murphy" wrote: > > But it did not call onCreate(SQLiteDatabase db) never so can some one > > tell me what can be the issue in it ? > > Here are some possibilities: > > 1. You are not using the SQLiteOpenHelpe

[android-developers] Re: Getting the key from a ListPreference

2009-10-02 Thread RoryD
Eck, spoke too soon - for this to work, you need to have the display values replicated somewhere in non-array form, not pretty. On Oct 2, 9:19 pm, RoryD wrote: > how about: > > SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences > (this); > String value = pref.getString("key",

[android-developers] Re: Getting the key from a ListPreference

2009-10-02 Thread RoryD
how about: SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences (this); String value = pref.getString("key", "default value"); Resources r = getResources(); String localizedValue = r.getString(r.getIdentifier (value,"string",null)); You may have to fiddle with the last 2 param

[android-developers] BitmapFactory.decodeStream sometimes returns null

2009-10-02 Thread RoryD
I have an activity which performs an image search, the results (URLs of thumbnails on the web) are rendered in a GridView. My GridView adapter class delegates creating the actual Bitmaps to an AsyncTask that loops to sequentially fetch the image content from each URL using HTTPClient, and creates

[android-developers] Re: How to share a database between a free and paid version of an application

2009-10-02 Thread Mark Murphy
> I would greatly appreciate any input from others that have dealt with > this issue, regarding the best way to make sure that users upgrading > to a paid version won't lose all the data they put into the free > version of the application. Here is one possible strategy: Step #1: Do the shared us

[android-developers] How to share a database between a free and paid version of an application

2009-10-02 Thread skyhigh
I have an application for which I am planning to release both a free and a paid version. I found that this will require the two versions of the application to each have different package names. When a user upgrades from the free version to the paid version, the paid version needs to be able to a

[android-developers] Re: Android Sim Card Needed?

2009-10-02 Thread Andrei
I bought "pay as you go" plan sim card for 10$ without data plan I have another question I have 1.5 on the phone, but I don't have data plan Will I get 1.6 update? On Oct 2, 5:36 pm, Thomas wrote: > I bought a used T-mobile G1 without a sim card for internet > development.   For my purposes the

[android-developers] Re: Why "onFocusChangeListner" does NOT work

2009-10-02 Thread Shijisui
Whant I want to do is :everytime when user change the DatePicker value, it will call one method to do something. so For DatePicker, can I set focus change listener for it's children, or I have to use "onDateChangedListener"? When "onDateChangedListener" will be called, once user change it's childr

[android-developers] Re: Can I get user's gmail address or handset SN to verify them?

2009-10-02 Thread Shijisui
Thanks, I think this will helpful for me. On Oct 3, 2:32 am, "Maps.Huge.Info (Maps API Guru)" wrote: > What about: > > Settings.Secure.getString(getContentResolver(), > Settings.Secure.ANDROID_ID) > > How unique/stable is this setting? > > I've been using it and it seems to work fine, at least f

[android-developers] Re: External Database Connectivity

2009-10-02 Thread Mark Murphy
> I am working on an app that will need to connect to an external > database and pull certain columns. > I am looking for some help in opening a connection to the database. > In another words, something like ODBC or JDBC in web development. Create a Web service wrapper for the database, and conne

[android-developers] Re: Android 1.6 SDK is here!

2009-10-02 Thread Peter
On Oct 1, 6:11 pm, Dianne Hackborn wrote: > Are you using android:targetSdkVersion="4"?  The namespace prefix is > important.  As long as your manifest has a android:targetSdkVersion="4"/> under the manifest tag, you won't be forced > to have the permissions. > Adding the namespace prefix did

[android-developers] Re: Sending/Receiving Java Objects to Server

2009-10-02 Thread sandreev
Hi Evan, I am pretty new to this area of programming. Can you please explain the way to connect to a database and retrieving the coulmns into Android's SQL database? Thank you in advance. Sandreev. On Sep 30, 6:46 am, Evan Ruff wrote: > That's a great question and something that I'm wondering

[android-developers] External Database Connectivity

2009-10-02 Thread sandreev
Hi All, I am working on an app that will need to connect to an external database and pull certain columns. I am looking for some help in opening a connection to the database. In another words, something like ODBC or JDBC in web development. Thank you in advance, Sandreev. --~--~-~--~---

[android-developers] AudioTrack sanity test

2009-10-02 Thread BD
Hi. I am trying to determine if I should go the ndk way to work on a music synth app, but first wanted to do a sanity check in the java layer by testing how many sine tones i could play concurrently, and so I tried this. And it's pretty low: I can only play about 4 or 5 tones before the obtainBuff

[android-developers] Re: Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

2009-10-02 Thread Xavier Ducrohet
On Fri, Oct 2, 2009 at 1:29 PM, jotobjects wrote: > > This is an area that I am confused about also.  The term "external > library" is perhaps overloaded with a different meaning in Android SDK > vs. in Eclipse build environment (which I don't use anyway). > Apparently this term in Android refers

[android-developers] Re: Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

2009-10-02 Thread Xavier Ducrohet
On Thu, Oct 1, 2009 at 10:57 PM, Lawrence wrote: > > I could be wrong here but I think there is something that should be > pointed out about the "added libraries" situation. I also had this > problem: Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] and the > threads in this email assisted in solv

[android-developers] Installing USB Driver for G1

2009-10-02 Thread joelt
I am having trouble getting the proper USB ADB driver for the G1 installed. Windows seems to have already decided which driver it should use. I've tried "updating the driver", but the Windows wizard has decided that it knows better to use the existing driver. "could not find a better match for y

[android-developers] Re: Starting an Activity BEHIND the current Activity

2009-10-02 Thread Dianne Hackborn
There is currently no defined behavior for this. On Fri, Oct 2, 2009 at 6:22 PM, mjc147 wrote: > > On Oct 3, 12:47 am, Dianne Hackborn wrote: > > Oh that said, if the activity that is doing the starting is not in front > of > > the user, then if it starts another activity in its task than that

[android-developers] Re: Problem with creating AVD with 1.6 SDK

2009-10-02 Thread dsurround
Hi Xav, thanks for the reply. I removed the post after I tried the download again. I noticed the platform files missing from that directory and thought maybe there was a problem in unzipping and moving the 1.6 directory. That was it! Thanks! Dan On Oct 2, 2:44 pm, Xavier Ducrohet wrote: > T

[android-developers] Re: detect onTouch for widget

2009-10-02 Thread sleith
Ok Thanks for your help :D On Oct 3, 8:27 am, "Mark Murphy" wrote: > > I mean i would like to make something like image album widget on htc > > hero. when we swap finger, it change it's view :D > > is it possible? thanks > > Probably not. I do not have an HTC Hero and so am not familiar with thi

[android-developers] Re: Can I get user's gmail address or handset SN to verify them?

2009-10-02 Thread Mark Murphy
> What about: > > Settings.Secure.getString(getContentResolver(), > Settings.Secure.ANDROID_ID) > > How unique/stable is this setting? It is supposed to be unique. It can be modified by those with root access AFAIK, but for ordinary folks it should be stable. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: detect onTouch for widget

2009-10-02 Thread Mark Murphy
> I mean i would like to make something like image album widget on htc > hero. when we swap finger, it change it's view :D > is it possible? thanks Probably not. I do not have an HTC Hero and so am not familiar with this feature. However, there is nothing in the RemoteViews API that supports gest

[android-developers] Re: Fedora Eclipse doesn't let me install Android's ADT plugin

2009-10-02 Thread chema
Did you check this? http://www.anddev.org/unable_to_install_adt-093_in_eclipse-t8140.html It works for me. -chema On Oct 2, 11:59 am, Lo Zeno wrote: > Hello, > I have a problem installing the ADT plugin in Fedora's version of > Eclipse. I'm not sure it is a problem with the plugin, it's probab

[android-developers] Re: detect onTouch for widget

2009-10-02 Thread sleith
Hi Mark, thanks for quick reply. I mean i would like to make something like image album widget on htc hero. when we swap finger, it change it's view :D is it possible? thanks On Oct 3, 8:18 am, "Mark Murphy" wrote: > > I'm trying to make widget gallery at homescreen. I'm currently stuck > > beca

[android-developers] Re: Starting an Activity BEHIND the current Activity

2009-10-02 Thread mjc147
On Oct 3, 12:47 am, Dianne Hackborn wrote: > Oh that said, if the activity that is doing the starting is not in front of > the user, then if it starts another activity in its task than that also > won't be, because the new activity needs to remain in its task. If I start two activities, one stra

[android-developers] Re: Working With Apis/Libraries

2009-10-02 Thread Mark Murphy
> > I'm building an app where I want to architect the app layer separately > from the service layer (not android services). So I'll create a > service interface(the apis) and then create a class(es) that implement > that service interface. Inside the android application layer, I want > to code

[android-developers] Re: detect onTouch for widget

2009-10-02 Thread Mark Murphy
> I'm trying to make widget gallery at homescreen. I'm currently stuck > because didn't find any example how to detect on touch in widget. > Could someone help me? Thank you You don't detect "on touch" for app widgets. You can, however, detect clicks, via setOnClickPendingIntent() on RemoteViews.

[android-developers] detect onTouch for widget

2009-10-02 Thread sleith
Hi, I'm trying to make widget gallery at homescreen. I'm currently stuck because didn't find any example how to detect on touch in widget. Could someone help me? Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[android-developers] Re: Is it possible to check if an activity is enabled or not?

2009-10-02 Thread Mark Murphy
> If i know an activity by class name, is it possible to check if that > activity is enabled or not? There is a method on PackageManager for that (getComponentEnabledStatus(), IIRC). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.

[android-developers] Re: buttom to top vertical layout

2009-10-02 Thread Mark Murphy
> I'm a new in Android. And can't understend how can I do something > ordered from buttom. For example TextEdit with a fixed hieght in the > buttom of the screen with a Result TextView above of it. Just like in > any ICQ, IRC, etc clients > > In all tutorials that i've seen fixed-hieght View was o

[android-developers] buttom to top vertical layout

2009-10-02 Thread Ammog
I'm a new in Android. And can't understend how can I do something ordered from buttom. For example TextEdit with a fixed hieght in the buttom of the screen with a Result TextView above of it. Just like in any ICQ, IRC, etc clients In all tutorials that i've seen fixed-hieght View was on the top.

[android-developers] AppWidgetManager.updateAppWidget refreshing always lagging "one behind."

2009-10-02 Thread sdphil
I've got an App Widget that gets updated (er... I try to update it) with the following chunk of code: ComponentName thisWidget = new ComponentName(context, MyAppWidgetProvider.class); AppWidgetManager manager = AppWidgetManager.getInstance(context); manager.updateAppWidget(thisWidget, remoteViews

[android-developers] Re: TMobile myFaves (com.tmobile.myfaves) is tied heavily into Android Framework?

2009-10-02 Thread Romain Guy
For technical reasons (that I don't remember) we had to use myFaves as the contacts provider and make it run in acore. This is specific **only** to T-Mobile phones with myFaves. On Fri, Oct 2, 2009 at 5:11 PM, justinh wrote: > > When I kill any Google app, even the built in ones, > android.proce

[android-developers] Re: Launching share option in menu

2009-10-02 Thread Dianne Hackborn
You need to specify a MIME type, since your data isn't in a content provider that the system can ask for its type. On Fri, Oct 2, 2009 at 4:06 PM, Lukasz Mosdorf wrote: > > Hi > > I'm trying to make a 'share' option in menu, just like in the gallery > application. > I am using the following code:

[android-developers] TMobile myFaves (com.tmobile.myfaves) is tied heavily into Android Framework?

2009-10-02 Thread justinh
When I kill any Google app, even the built in ones, android.process.acore doesn't crash causing a cascade effect of wonderfulness that is a black Launcher screen sometimes. So it can't be related to being integrated into Google Authentications or something. So, why the heck does myFaves do this? A

[android-developers] Applicatoin Context Vs Activity Context

2009-10-02 Thread syrodrone
hello folks I have read the articles that say don't pass activity Context around to avoid memory leaks My questions is.. Is it possible to get Activity context from application context . i need to be able to access the activity Context outside the Activity ... and i am a new to android

[android-developers] Using ContentProvider.query to access multiple tables efficiently.

2009-10-02 Thread Lior
I need to create a code snippet that performs the equivalent to the following SQL statement: select people._id, people.name, phones.number,contact_methods.data from people left outer join contact_methods on people.primary_email=contact_methods._id left outer join phones on people.primary_phone=ph

[android-developers] Launching share option in menu

2009-10-02 Thread Lukasz Mosdorf
Hi I'm trying to make a 'share' option in menu, just like in the gallery application. I am using the following code: MenuItem item2 = menu.add(0,0,0, "Share"); item2.setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { public boolean onMenuItemClick(MenuItem i

[android-developers] Is it possible to check if an activity is enabled or not?

2009-10-02 Thread n179911
Hi, If i know an activity by class name, is it possible to check if that activity is enabled or not? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Application Manager & Force Close

2009-10-02 Thread emylyano3
Hello Dianne, Ok, I understand your point, but this Android feature is giving me a headache. Instead of solve this issue (force stop) , lets change the conversation angle. I have an app (App1) that controls the excecution of another one (App2). The problem that I have is that the app1 decides how

[android-developers] Re: Emulator -dpi-device option is not work.

2009-10-02 Thread Xavier Ducrohet
Those 2 parameters do completely different actions. -dpi-device tells the system that it's running on a device running a low/medium/high density screen. This has an impact on which resources is being used when running the application. (see http://d.android.com/guide/topics/resources/resources-i18

[android-developers] Re: Android emulator start up error ?

2009-10-02 Thread David M. Lee
我也有同樣的問題。有人建議以下的方法。我將自己試試。 You need to follow the instructions here: file:///C:/android-sdk-windows-1.6_r1/docs/sdk/1.6_r1/installing.html The /tools directory of your Android SDK installation must be added to your PATH environment variable as per the instructions. On 9月16日, 下午10時38分, "android.v

[android-developers] Android Sim Card Needed?

2009-10-02 Thread Thomas
I bought a used T-mobile G1 without a sim card for internet development. For my purposes the wi-fi should provide enough internet capacity for testing as I don't care making phone calls or internet connection via cell service. Like duh on my part, the G1 will not go past the first menu to the a

[android-developers] Re: inner Service class has to be static...

2009-10-02 Thread sdphil
. good point. noodling, noodling On Oct 2, 2:00 pm, "Mark Murphy" wrote: > > the problem is that a user could create multiple app widgets (on the > > desktop), in which case the static variable would point to the last > > one created... > > The static variable Ms. Hackborn mentione

[android-developers] Re: inner Service class has to be static...

2009-10-02 Thread Mark Murphy
> the problem is that a user could create multiple app widgets (on the > desktop), in which case the static variable would point to the last > one created... The static variable Ms. Hackborn mentioned would hold the service, not a widget. -- Mark Murphy (a Commons Guy) http://commonsware.com An

[android-developers] Re: Emulator -dpi-device option is not work.

2009-10-02 Thread Rmac
But -scale xxdpi does work instead. On Oct 2, 3:32 pm, Rmac wrote: > I am not seeing any difference in SDK 1.6 when changing the dpi > parameter for the emulator. Can someone verify it is working in Donut? > > On Aug 24, 12:36 pm, Romain Guy wrote: > > > This will be supported in Donut. > > > O

[android-developers] Re: inner Service class has to be static...

2009-10-02 Thread sdphil
the problem is that a user could create multiple app widgets (on the desktop), in which case the static variable would point to the last one created... On Oct 2, 1:38 pm, Dianne Hackborn wrote: > You can just have a static variable that the service sets when it is created > and clears when destr

[android-developers] Re: inner Service class has to be static...

2009-10-02 Thread jotobjects
If the inner class is not static it cannot be instantiated except within the context of an instance of the containing class. so you cannot say "new MyInner()" or something like that. instead you have to do "myOuterInstance.new MyInner()" to instantiate it. Since the framework does not have an i

[android-developers] Re: inner Service class has to be static...

2009-10-02 Thread Dianne Hackborn
You can just have a static variable that the service sets when it is created and clears when destroyed. On Fri, Oct 2, 2009 at 1:31 PM, sdphil wrote: > > so is there a way in the outer class to get access to that Service > object? > >context.startService( new Intent(context, UpdateServic

[android-developers] Re: Application Manager & Force Close

2009-10-02 Thread Dianne Hackborn
2009/10/2 José Prieto Garay > I think this is the point, normally when our application needs to be > destroyed in order to release memory, or it's in a lower priority then > onDestroy() is called. > That is not true. If the user presses home, they will leave your app, it will go in the backgrou

[android-developers] Re: About Size of Resource, Assets files & final Apk size

2009-10-02 Thread justinh
If you haven't already, consider storing your database as raw strings that can be executed at the first run. Usually it would be an "export" feature in whatever database program you are using. You would use: http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#execS

[android-developers] Re: Emulator -dpi-device option is not work.

2009-10-02 Thread Rmac
I am not seeing any difference in SDK 1.6 when changing the dpi parameter for the emulator. Can someone verify it is working in Donut? On Aug 24, 12:36 pm, Romain Guy wrote: > This will be supported in Donut. > > On Fri, Aug 21, 2009 at 10:05 PM, Daisong wrote: > > > I've launched emulator with

[android-developers] Re: Application Manager & Force Close

2009-10-02 Thread José Prieto Garay
Hello some comments: > 2) If someone uses force stop they should already acknowledge that some information might be lost. The user doesn't know about this, there isn't any sign or warning when pressing that button. And also our apps doesn't know too. ;) > Whenever your app is in the background,

[android-developers] Re: inner Service class has to be static...

2009-10-02 Thread sdphil
so is there a way in the outer class to get access to that Service object? context.startService( new Intent(context, UpdateService.class) ); to start the service, but then how do i get a reference to the UpdateService object that it indirectly creates? On Oct 2, 1:17 pm, Dianne Hackborn

[android-developers] Re: Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

2009-10-02 Thread jotobjects
This is an area that I am confused about also. The term "external library" is perhaps overloaded with a different meaning in Android SDK vs. in Eclipse build environment (which I don't use anyway). Apparently this term in Android refers to a Linux platform shared library? I think Dianne in this

[android-developers] TraceView negative call time error message

2009-10-02 Thread Al
I've been trying to profile my app and have been getting messages like this: ThreadData: '(context switch)' call time (-4829) is less than previous time (824) for thread '[13] Binder Thread #2' Initially, I used adb shell am profile and when that didn't work I tried Debug.startMethodTracing(Stri

[android-developers] Re: About Size of Resource, Assets files & final Apk size

2009-10-02 Thread Dianne Hackborn
Er the limit you are reaching there is not the file size in the .apk, but just the amount of storage available on the device. There is indeed a limit of 1MB on an individual file, if that file is stored compressed. This is really something we need to get rid of, there is no reason for it except w

[android-developers] Re: inner Service class has to be static...

2009-10-02 Thread Dianne Hackborn
This is true, because the system will launch the service as needed, outside of the environment of whatever the container class is. All of the items in the manifest are top-level components, owned by the application itself, not some other class in it. On Fri, Oct 2, 2009 at 1:10 PM, sdphil wrote:

[android-developers] Re: WVGA800 and WVGA854 for games

2009-10-02 Thread Dianne Hackborn
Fwiw, as a general rule, I would hope that a device that has a high resolution screen is correspondingly beefier in power. Even ignoring that, though, you can expect HVGA devices to have varying performance characteristics. On thought I have is to view Android more like the desktop world, where i

[android-developers] Re: Stripping Log._ out of production

2009-10-02 Thread jotobjects
I think you mean that each app should define some internal constant and recompile for release (and not use the Config constants) ? Is that right? Is there a conventional property or mechanism that the Log class uses for isLoggable() method? The 1.6 release notes (API diff) says that all the Conf

[android-developers] inner Service class has to be static...

2009-10-02 Thread sdphil
looking at this example -- http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html if the inner UpdateService class is not static, it cannot start the service. The ActivityManager complains "Unable to start service Intent"... any ideas why? tia. --~--~-

[android-developers] Re: EditText.onKeyUp() doesn't catch all keys

2009-10-02 Thread Dianne Hackborn
On Fri, Oct 2, 2009 at 8:16 AM, Hannes Steiger < hannes.stei...@googlemail.com> wrote: > ..seems as if some people are too arrogant to give concrete help? > Sorry, no offense ;) > Okay, I'll be sure not to give you any help in the future so you don't feel like I am being arrogant with you. No of

[android-developers] Re: Application Manager & Force Close

2009-10-02 Thread Dianne Hackborn
On Fri, Oct 2, 2009 at 12:56 PM, Lucas wrote: > In my personal case i have a worker thread that must finish cleanly in > order to make my app re-launch in a reliable state. > If you are relying on a thread to finish cleanly for your application to remain reliable -after- its process is killed, t

[android-developers] Re: Application Manager & Force Close

2009-10-02 Thread justinh
Please, no. There is good reason to not notify the package being killed. Two thoughts: 1) Maybe you guys need to ask yourselves why users are force stopping your apps? 2) If someone uses force stop they should already acknowledge that some information might be lost. On Oct 2, 3:56 pm, Lucas wr

[android-developers] Re: Application Manager & Force Close

2009-10-02 Thread Lucas
Hello, I was having the same issues. And i was not able to solve it the way i wish it. I think this is a great feature on android, but also i think it has it faults. I think that the system MUST send to my package ACTION_PACKAGE_RESTARTED before killing the process, or at least call onDestroy on

[android-developers] EditText.onKeyUp() doesn't catch all keys

2009-10-02 Thread Jason Proctor
> > You can look at the java docs for the things in android.text that >related to >> this, and ask questions you have from there. > >..seems as if some people are too arrogant to give concrete help? >Sorry, no offense ;) advising people to do a bit of research of their own before offloading t

[android-developers] Re: Getting the key from a ListPreference

2009-10-02 Thread Neil
The PreferenceActivity is an almost empty class - it's the usage of the preferences in the application that I was asking about. On 2 окт, 17:21, "nEx.Software" wrote: > Hmm, I was under the impression that this was being done from a > PreferenceActivity. > > On Oct 2, 8:18 am, "Mark Murphy" wr

[android-developers] Working With Apis/Libraries

2009-10-02 Thread Brad A
I'm building an app where I want to architect the app layer separately from the service layer (not android services). So I'll create a service interface(the apis) and then create a class(es) that implement that service interface. Inside the android application layer, I want to code to just that

[android-developers] WVGA800 and WVGA854 for games

2009-10-02 Thread Warren
I have developed a game for android that really needs to have a 480x320 resolution. I have considered trying to alter the game to work with different resolutions, but this would be very difficult if even feasible. I know of at least one phone from Motorola that will have a WVGA screen. I loaded m

[android-developers] Re: WebServer Android

2009-10-02 Thread martin-g ml
El vie, 02-10-2009 a las 07:11 -0700, Fabio Melpignano escribió: > I don't understand. > I'm trying to find a web server wich can show me some files in a > directory. If it is just listing directories then you could write your own. If you want it to support http or even servlet specifications then

[android-developers] G.711 deployment with Android

2009-10-02 Thread Bruvry
I've seen that Android could be extended to support G.711 audicodec. Is there partucular constraints on the handset hardware that could prevent deploying G711 applications on the mass market early 2010? Thanks --~--~-~--~~~---~--~~ You received this message because

[android-developers] Google Wave

2009-10-02 Thread Sajib
Any app for Google wave in the android platform. Anyone has access to google wave. may i have an invite please. thanx. - prokrity [AT] gmail [DOT] com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develope

回复: [android-developers] Activate network o n debug device

2009-10-02 Thread stefli
of course,you can't. you should use WiFi or gprs to get connection. 在 2009 年 10 1 日,8:37 下午,"Markus" 编写: Hello, I developer a android app. Today I get the HTC hero for testing. I installed the driver and can start the app on the device. The problem is that I need a network connection. I am conn

[android-developers] Run a apk file in Emulator

2009-10-02 Thread Eray Ince
Dear All, I have a .apk file and How can I run this file in my netbeans ide with Android emulator Thanks in Advance -- -- Eray --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Fedora Eclipse doesn't let me install Android's ADT plugin

2009-10-02 Thread Lo Zeno
Hello, I have a problem installing the ADT plugin in Fedora's version of Eclipse. I'm not sure it is a problem with the plugin, it's probably more Fedora's team fault (they heavily personalized and modified eclipse in Fedora's repository). I installed the version of Eclipse that is included in Fe

[android-developers] Can't update app of ADC2, can't publish on Market in same package...

2009-10-02 Thread tim
Hi everyone, I've submitted one app for ADC2, after two or three days, I can't get into the app's entry or update. I tried IE and it's not firefox's fault. Then I found I can't publish on Market in same package... I have to change my app from com.* to net.* Now the judging app comes out, it's a

[android-developers] Custom Data source in Android

2009-10-02 Thread Roney
Hi, I am new to Android platform. In MMAPI (J2ME), you can have custom data source impl for the player which handles the data to be feed to player. Is there any similar way available in Android? I want to grab data from varoious sources and supply it to the player. How can it be possible in Andro

[android-developers] Re: EditText.onKeyUp() doesn't catch all keys

2009-10-02 Thread Hannes Steiger
> You can look at the java docs for the things in android.text that related to > this, and ask questions you have from there. ..seems as if some people are too arrogant to give concrete help? Sorry, no offense ;) You can add a TextWatcher to your text field. In your case, this would look somethi

[android-developers] Android as a Universal Remote for CE/HA?

2009-10-02 Thread Jed
Hi All, I'm wondering if there's any universal remote-ware for consumer electronics/home automation being developed in the Android ecosystem? Does anyone know of anything under way or a related Linux project that could be re-adapted for Android? I have something "roughly" like this visualised..

[android-developers] Re: invalidate thumbnails in a GridView

2009-10-02 Thread RobGThai
Could you please tell me how to get it to work? I'm hitting the same problem here. Tried everything you posted as well. The difference would be that I do not use thread. I have an private String[] inside the Activity class and pass it into my custom adapter. The value inside the String[] will be

[android-developers] Re: Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

2009-10-02 Thread Lawrence
I could be wrong here but I think there is something that should be pointed out about the "added libraries" situation. I also had this problem: Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] and the threads in this email assisted in solving the problem. The "situation" I want to point out is tha

[android-developers] About Size of Resource, Assets files & final Apk size

2009-10-02 Thread faye
I am currently developing a dictionary application with voice database. I would like to know about the current Android limitation on the file size. I am using a self-provided sqlite database ( > 50mb ) . I tested that once the built .apk size exceeds ~30mb the app will not be installed onto the s

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2009-10-02 Thread Lukas
You could try it with a http connection. First store the incoming data to the sdcard. String src = "http://xxx.xxx";; File f = new File("sdcard", "filename.mpeg"); URL url = new URL(src); HttpURLConnection con = (HttpURLConnection) url.openConnection(); InputStream in = con.getInputStream(); File

[android-developers] Re: change color of fading edge in listview

2009-10-02 Thread Paulo Reis
I am able to control the fading edge color by setting the "Cache color Hint" (android:cacheColorHint) property. >From my experience, I noticed that the default behavior is the edge fading to black. I had a scenario with a white background where, obviously, I wanted the edge fading to white. I was

[android-developers] Reading from XML

2009-10-02 Thread Eray Ince
Hello, I would like to develop a rss reader, Is there anyone who could send me example? Thanks in advance. -- -- Eray --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Retrieving Images

2009-10-02 Thread Rana
Hello Dear, I want to retrieve images from Android Media provider. Here I want to limit the selection by TITLE, or LOCATION, or others. I am trying in several ways. but getting problems.. you can see my Uri uri = MediaStore.Images.Media.EXTERNAL_CONTENT_URI; //displaySdCard(); // //

[android-developers] Re: WebView word touching ability?

2009-10-02 Thread UBZack
Thanks very much for your reply! I think I will do something like having each word be a link, it seems the most plausible idea. On Oct 2, 3:36 pm, Jason Proctor wrote: > the easy way to do this is to have each word be a link -- you can > style it so that it doesn't look like it -- and then have

[android-developers] Re: WebView word touching ability?

2009-10-02 Thread Jason Proctor
the easy way to do this is to have each word be a link -- you can style it so that it doesn't look like it -- and then have a custom WebViewClient handle the link and do whatever you want. another way would be to have javascript pick up the touch and somehow determine which part of the DOM was

[android-developers] Re: Stripping Log._ out of production

2009-10-02 Thread fadden
On Oct 2, 12:14 pm, jotobjects wrote: > In 1.6 it is deprecated? > > What is the correct way to detect debug mode? This is expected to be used as a compile-time constant within the app framework. You can and should build your app for "debug" or "release" as you see fit, independent of the state

[android-developers] WebView word touching ability?

2009-10-02 Thread UBZack
I was wondering whether there was a way, if you have a webview with some html being displayed in it, to obtain which part of the html is touched by the user. For example, say I have a webview that's displaying, in just plain text (no links), the following: The quick brown fox jumped over the laz

[android-developers] Re: Stripping Log._ out of production

2009-10-02 Thread jotobjects
In 1.6 it is deprecated? What is the correct way to detect debug mode? On Oct 2, 11:59 am, Dianne Hackborn wrote: > android.util.Config.DEBUG is -only- for use by the platform.  That probably > never have should been in the SDK.  (Actually, in either Donut or Eclair > these are at least depreca

[android-developers] Re: Stripping Log._ out of production

2009-10-02 Thread Dianne Hackborn
android.util.Config.DEBUG is -only- for use by the platform. That probably never have should been in the SDK. (Actually, in either Donut or Eclair these are at least deprecated.) On Fri, Oct 2, 2009 at 11:44 AM, jotobjects wrote: > > android.util.Config.DEBUG is true if this is a debug build.

[android-developers] Use internal micorphone with headphones?

2009-10-02 Thread Troglodad
When using a stereo headphone adapter in the ADP1, when the headphones are plugged in, despite the lack of any external microphone, the internal microphone is deactivated. This prevents the phone from being used as a car phone; I have my ADP1 on a windshield mount with audio routed via headphone

[android-developers] Re: Stripping Log._ out of production

2009-10-02 Thread jotobjects
android.util.Config.DEBUG is true if this is a debug build. import static android.util.Config.DEBUG; if (DEBUG) ... On Oct 2, 9:48 am, Dianne Hackborn wrote: > Yeah you will still get the concats, which you really don't want to keep > (those are really expensive).  We typically write logging l

[android-developers] Re: Problem with creating AVD with 1.6 SDK

2009-10-02 Thread Xavier Ducrohet
This is the first time I've seen this. What's the content of SDK/platforms/android-1.6 ? You might want to re-download the SDK (or at least unarchive again if you still have the archive) Xav On Thu, Oct 1, 2009 at 6:13 PM, dsurround wrote: > > I upgraded to the new SDK and I am using eclipse.

[android-developers] How to launch activity act2.class (contained in project2.apk) from activity1 in project1.apk ?

2009-10-02 Thread DaminouU
Hi, I have two .apk file (wit their respective activity). I want to launch the second one from the first one. How can I do this? Just to be clear : I have project1.apk and project2.apk. act1 belongs to project1.apk and act2 to project2.apk. I would have done [in the code of act1] Intent intent

  1   2   >