[android-developers] Sms Competition + 10 Tips On How To Get Rich Fast

2009-05-15 Thread meh.altaf
- "Send" Lucky Draw - SMS Competition [Pakistan Only... - The World's Billionaires Women 2009 - The Pakistan's Billionaires 2009

[android-developers] Re: Issue with orientation change: Dialog above activity with fixed orientation

2009-05-15 Thread André
Thank you for your answer, Dianne. Problem however is, that even the new Dialog themed activity won't adapt to an orientation change if the parent activity is fixed to portrait or landscape mode. It seems the reason is the transparent/transluscent background of it. Once I create an activity with a

[android-developers] Re: Question for SDK developers - behavior of setFeatureInt

2009-05-15 Thread Romain Guy
And if you do anyway, don't complain if your app breaks in a future release :) On Fri, May 15, 2009 at 9:56 PM, Dianne Hackborn wrote: > Yeah that seems fine.  Just stay away from internal/private APIs (and > reflection tricks to get to them!). > > On Fri, May 15, 2009 at 9:54 PM, iDeveloper wr

[android-developers] Re: NullPointerException : String imageFileName = myFile.imageFileName.toString(); when imageFileName is null

2009-05-15 Thread Romain Guy
It couldn't have been working before 1.5. The only way to safely convert an object to a String without a NullPointerException is to use a StringBuilder/StringBuffer or use a String concatenation: String imageFileName = "" + myFile.imageFileName; Or better yet, explicitly check for null :) On Fr

[android-developers] Problem creating a resource in eclipse

2009-05-15 Thread Makeable
I am trying to create a resource in eclipse by right clicking the project -> Android Tools -> New Resource File. It then comes up with the error "The chosen operation is not currently available". As such, I am having to create them manually. Is this a feature that is not yet implemented, or is it

[android-developers] Sms Broadcasts and Logs

2009-05-15 Thread Alan Jones
Hi All, I want to know whenever someone is called, calls, smsed or smses. I figured for the calls I'd use the phone state change to trigger when I should check the CallLog provider again. I couldn't see any direct way of getting broadcasts from the CallLog. Did I miss it? For SMSes I'm having m

[android-developers] Re: ContentProvider queries, Contacts and the SDK docs

2009-05-15 Thread Mark Murphy
> Awesome - thanks. If I rely on behaviour like this is it going to > remain consistent > between major releases of android? i.e. will my app at least be fine > for 1.5.X? > (Do they even drop point releases to phones or is it set in stone/ > firmware until the > next major version?) If it's not

[android-developers] NullPointerException : String imageFileName = myFile.imageFileName.toString(); when imageFileName is null

2009-05-15 Thread chrispix
if the value of imageFileName is null, why can I not change null into a string? It was working before 1.5. String imageFileName = myFile.imageFileName.toString(); This gives me the a NullPointerException Error. --~--~-~--~~~---~--~~ You received this message becaus

[android-developers] Re: Question for SDK developers - behavior of setFeatureInt

2009-05-15 Thread Dianne Hackborn
Yeah that seems fine. Just stay away from internal/private APIs (and reflection tricks to get to them!). On Fri, May 15, 2009 at 9:54 PM, iDeveloper wrote: > Sob sob... Sorry to hurt you. Thats why I wanted to confirm before using > this. > I am already using custom title bar. What I ended up d

[android-developers] Re: Question for SDK developers - behavior of setFeatureInt

2009-05-15 Thread iDeveloper
Sob sob... Sorry to hurt you. Thats why I wanted to confirm before using this. I am already using custom title bar. What I ended up doing was I added the title bar once, then every time I want to change it, I just change the visibility to gone or visible depending on whether I want to show

[android-developers] Issue w/ extending MapActivity and eclipse error saying that it is not extended

2009-05-15 Thread chrispix
So I am really confused, this has been going on for a while, usually I could move my activity decleration around in the manifest and it would work fine. Now its giving me the same error. I have an activity called savemaplocation extending MapActivity public class savemaplocation extends MapActivi

[android-developers] Re: Errors on Windows 7

2009-05-15 Thread Raphael
Thanks for the report. We're currently only focusing on XP and Vista. We haven't tested with Windows 7 yet so it's good to have an advance warning. R/ On Fri, May 15, 2009 at 3:46 PM, info+farm wrote: > > Dear all, > > I installed the brand new Windows 7 RC Ultimate and tried to run > Android t

[android-developers] Re: why XmlPullParser.getName(); return null (urgent)

2009-05-15 Thread Dianne Hackborn
You haven't stepped the parse at all. A google search will return this as the first result: http://www.xmlpull.org/v1/doc/api/org/xmlpull/v1/XmlPullParser.html On Fri, May 15, 2009 at 5:06 PM, zeeshan wrote: > > Hi Experts, > > i spent 3 hours trying to figure out why XmlPullParser. XMLParser

[android-developers] Re: About logger_event

2009-05-15 Thread Dianne Hackborn
This list is for discussion about the SDK; please move to android-porting. 2009/5/15 pibada > > Ok. > > You can see the logger_entry structure in open_src/system/core/include/ > cutils/logger.h > > I just want to distinguish msg[0] from logger_entry structure. > For example, I'm trying to change

[android-developers] Re: About logger_event

2009-05-15 Thread pibada
Ok. You can see the logger_entry structure in open_src/system/core/include/ cutils/logger.h I just want to distinguish msg[0] from logger_entry structure. For example, I'm trying to change the first byte of the payload entry like 03 or 04. The reason that I read messages from memory to analyze

[android-developers] Re: Intermittent service start

2009-05-15 Thread Dianne Hackborn
On Fri, May 15, 2009 at 12:40 PM, Ward Willats wrote: > Not sure what the best idiom is for insuring a service is up before > you proceed, but that's another (straightforward) problem. You can't; this needs to be asynchronous. -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-05-15 Thread avrono
Rather odd, After completing the above procedure and trying to browse the SD card unsuccessfully a few times (unable to mount error) It popped to life, i.e once I could see the SD card adb also started working ... Any explanation ? On May 15, 9:36 pm, avrono wrote: > All, > > I had the same

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-05-15 Thread avrono
All, I had the same problem however I cannot seem to get the same working result. I have /etc/udev/rules.d/51-android.rules SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" chmod a+rw 51-android.rules /ect/init.d/udev reload adb devices shows nothing except emulator-5554 device

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-05-15 Thread avrono
All, I had the same problem however I cannot seem to get the same working result. I have /etc/udev/rules.d/51-android.rules SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" chmod a+rw 51-android.rules /ect/init.d/udev reload adb devices shows nothing except emulator-5554 device

[android-developers] Re: ContentProvider queries, Contacts and the SDK docs

2009-05-15 Thread Alan Jones
Hi Mark and Jeff, On May 16, 4:03 am, "Mark Murphy" wrote: > That may work for content providers that pass WHERE clauses straight on to > SQLite. Awesome - thanks. If I rely on behaviour like this is it going to remain consistent between major releases of android? i.e. will my app at least be f

[android-developers] Re: Found bug in WebView which makes JVM crash!

2009-05-15 Thread fadden
On May 15, 1:48 pm, Matt wrote: > The following code will crash on the 1.5 emulator: > >                                 WebView wv = new WebView(context); >                                 wv.loadUrl("file://assets/myfile.html"); >                                 int i = wv.findAll("to"); > > It

[android-developers] why XmlPullParser.getName(); return null (urgent)

2009-05-15 Thread zeeshan
Hi Experts, i spent 3 hours trying to figure out why XmlPullParser. XMLParser eturns null . please have a look on my code below: XmlPullParser XMLParser = this.getApplicationContext().getResources ().getXml(R.xml.book); String name=XMLParser.getName(); i also tried the example http://devel

[android-developers] Re: Errors on Windows 7

2009-05-15 Thread L!TH!UM
Considering it is a release candidate and the official OS is not out yet, these issues may be fixed by time the official OS is out, otherwise you may want to use the XP mode they are putting in. In the mean time, perhaps you can retrieve those .dll files from an earlier version of windows and see

[android-developers] Can Window Leaked error messages be ignored, and what are the consequences?

2009-05-15 Thread gymshoe
The PreferenceScreen class has a bug with saving its state when it has PreferenceScreen children in its hierarchy and you cause a screen re- orientation with one of those PrefereceScreen children as the focused window: 05-15 23:08:27.281: ERROR/WindowManager(4980): Activity com.northwestradiology

[android-developers] Re: Leaked window in PreferenceActivity

2009-05-15 Thread gymshoe
In my PreferenceActivity, I tried the following, all of which don't work: 1) @Override public void onDestroy() { Log.v(TAG,"START onDestroy"); //getPreferenceScreen().removeAll(); super.onDestroy(); getPreferenceScreen().removeAll(); Log.v(TAG,"END onD

[android-developers] Re: how display text and images in single view

2009-05-15 Thread mathiastck
If the issue is you want portions of text to wrap with images in between them, you can try: http://developer.android.com/reference/android/text/style/ImageSpan.html On May 14, 10:19 pm, "Mark Murphy" wrote: > > currently i am using relative layout to display four TextAreas as a > > answer cell

[android-developers] Re: 1.5 ListView disabled items

2009-05-15 Thread Romain Guy
Sorry for that :( On Fri, May 15, 2009 at 3:21 PM, Alexey Volovoy wrote: > > Romain, thanks for the explanation, the name enable/disable is > definitely misleading. I used it for dynamic content ( ads :) ) if i > had content i enabled the item if not disabled it. I'll make a change > to make it

[android-developers] Re: startActivity from subclass - strange problem

2009-05-15 Thread mscwd01
Here's the complete stack trace: 05-15 23:51:58.278: ERROR/AndroidRuntime(731): Uncaught handler: thread main exiting due to uncaught exception 05-15 23:51:58.340: ERROR/AndroidRuntime(731): java.lang.NullPointerException 05-15 23:51:58.340: ERROR/AndroidRuntime(731): at android.content.Conte

[android-developers] Re: Using the AudioRecord API

2009-05-15 Thread Dave Sparks
You need to call the read() method. On May 15, 3:15 pm, benmccann wrote: > Any ideas? > > Thanks, > Ben > > On May 15, 1:02 am, benmccann wrote: > > > Hi, > > I'm trying to figure out how to use theAudioRecordclass.  I created > > a callback with a logging message, but don't ever see it called.

[android-developers] Errors on Windows 7

2009-05-15 Thread info+farm
Dear all, I installed the brand new Windows 7 RC Ultimate and tried to run Android tools on it. Unfortunately, tools(aapt, emulator ...) do not work on the new OS. aapt.exe give Error; Problem signature: Problem Event Name: APPCRASH Application Name: aapt.exe Application Version: 0.

[android-developers] Re: Extending over Apache License 2.0

2009-05-15 Thread info+farm
Thanks, I will be looking at the about example and contacting the owner of the code. jojo On May 12, 1:55 pm, Zero wrote: > the best solution would be to ask the original author of the source > you're using how he/she would like to have that. > you may also check out OI > About,http://openinten

[android-developers] Re: 1.5 ListView disabled items

2009-05-15 Thread Alexey Volovoy
Romain, thanks for the explanation, the name enable/disable is definitely misleading. I used it for dynamic content ( ads :) ) if i had content i enabled the item if not disabled it. I'll make a change to make it on the view level. On May 15, 3:12 pm, Romain Guy wrote: > Disabled items are badl

[android-developers] Re: ContentProvider queries, Contacts and the SDK docs

2009-05-15 Thread Jeff Sharkey
> Last question is about the Contacts PERSON_ID and how long-lived that > is. It is guaranteed > to never change (though may be removed obviously). Well not truly > guaranteed but will only > cycle after it runs out of unused integers. Or may they change value > as contacts are removed? _ID value

[android-developers] Re: Using the AudioRecord API

2009-05-15 Thread benmccann
Any ideas? Thanks, Ben On May 15, 1:02 am, benmccann wrote: > Hi, > I'm trying to figure out how to use theAudioRecordclass.  I created > a callback with a logging message, but don't ever see it called.  Do > you see anything wrong with what I'm doing?  Do you have an example of > how to use t

[android-developers] Re: Widget in 1.5 not deleted???

2009-05-15 Thread Jeff Sharkey
A little more detail about the issue, and a workaround: http://groups.google.com/group/android-developers/msg/e405ca19df2170e2 j On Fri, May 15, 2009 at 12:20 PM, Romain Guy wrote: > It's a known bug :) > > On May 15, 2009 11:27 AM, "guruk" wrote: > > > I tested right now also the addwidgetde

[android-developers] Re: About logger_event

2009-05-15 Thread Yusuf T. Mobile
Sorry, I am not familiar with the logger_event structure you are referring to. I did not find it in the Android documentation, not in the platform source code. Could you point me to where I might find it? This may not be what you're looking for, but as described in http://developer.android.com/re

[android-developers] Set a few lists in one layout?

2009-05-15 Thread daehoon
How to set a few lists in one layout include their own data from DB? here is source code about set list in Android guide. List id is @android:list why the id must be android:list?, may I use my own id? If I can, how to set lists to main layout including their own data (title)? Cursor not

[android-developers] Re: No translucency when xml file present

2009-05-15 Thread andreas
Hi, I have a similar problem, but I have not preferences.xml file anywhere in res/xml. On the emulator my theme works fine and I can see the other activity in the background. But on my device (G1) the screen is rendered black. Anybody any idea? On 24 Mrz., 00:20, "jonlerne...@gmail.com" wrote

[android-developers] Found bug in WebView which makes JVM crash!

2009-05-15 Thread Matt
The following code will crash on the 1.5 emulator: WebView wv = new WebView(context); wv.loadUrl("file://assets/myfile.html"); int i = wv.findAll("to"); It turns out "findAll" leads to a native method

[android-developers] Re: 1.5 ListView disabled items

2009-05-15 Thread Romain Guy
Disabled items are badly named. They are supposed to act as separators (for instance, that's who the group names are implemented in the Settings pages.) If you don't want the user to click the item, you should disable the view itself. If you look at the Settings page you'll see why not drawing the

[android-developers] Re: Another question about Animation - animate an imageview across several layouts

2009-05-15 Thread Sheepz
I can maybe add more information if needed - please answer if you think it's needed. On May 12, 5:23 pm, Sheepz wrote: > Hi, I want to be able to make an imageview move from point a to b > while going through several different views. > For example, say I have a table layout, is there any way an

[android-developers] Intermittent service start

2009-05-15 Thread Ward Willats
Thanks Diane. We just fixed it. Seems like the moment you post to the list in desperation, the answer appears. Wonderful magick. Turns out our initialization is so crazy complicated we were wait()-ing the UI thread (instead of the worker thread we thought we were on) waiting for the service co

[android-developers] Re: Widget in 1.5 not deleted???

2009-05-15 Thread Romain Guy
It's a known bug :) On May 15, 2009 11:27 AM, "guruk" wrote: I tested right now also the addwidgetdemo from the api 1.5 examples. also there: 1. it always calls : static void updateAppWidget(Context context, AppWidgetManager appWidgetManager, int appWidgetId, String titlePrefix) 2. but neve

[android-developers] Re: 1.5 ListView disabled items

2009-05-15 Thread Alexey Volovoy
Ok thanks for the answer. Although i must say it really does look ugly if the item happen to be in the middle of the list. On May 15, 12:02 pm, Romain Guy wrote: > Yes, it is intentional. > > On Fri, May 15, 2009 at 9:02 AM, Alexey wrote: > > > Hi all , i've noticed after i've switched to 1.5 t

[android-developers] targeting custom-android 1.5 to dev phone

2009-05-15 Thread devi prasad
hi, I have a custom build of android-1.5_r1 code, where I have made a few modifications to AudioFlinger.I want to flash this build to my dev phone. Can someone guide me in "building for dream"? After reading through various posts, I'm somewhat confused about the overall state of this process. tha

[android-developers] Re: Creating context, how?

2009-05-15 Thread Dianne Hackborn
Like I said, you can't do this. The appropriate list would probably be android-porting; I can't move the thread for you. You can create a Service without an Activity, that's one of the points of a Service, but you still need to be running in a process created by the activity manager (from an .apk

[android-developers] Equivalent to .classpath when building with ant, or how to add more source directories to build.xml.

2009-05-15 Thread Anton
Is there a way to add more source directories to an ant build using the build.properties file? I've been using the .classpath file in Eclipse to reference additional shared source files that are used by multiple projects. Now that I'm trying to build my project using ant I can't figure out i

[android-developers] Re: How to get OpenGLContext class in Android 1.5 SDK

2009-05-15 Thread Himadri Sekhar Das
Thank you so much Yusuf.. -Himadri / APT On Fri, May 15, 2009 at 12:22 AM, Yusuf T. Mobile wrote: > > OpenGLContext appears to have disappeared in 1.5, including the > Android platform source code and documentation (except a residual > mention here: > http://developer.android.com/guide/topics/gra

[android-developers] Re: Creating context, how?

2009-05-15 Thread SGAdrian
So where can ask this question? Could you move this thread to the correct forum? So how can I get hold of a functional Context, if that means I have to go through the ActivityManager? Can I create a Service without an Activity? I dont want anything visible to the user. BR, Sven On 15 Maj, 19:0

[android-developers] Re: Strange Cupcake Memory Bug with WebViews (that disappears when debugger attached)

2009-05-15 Thread fadden
On May 15, 1:58 am, iliketolearn wrote: > I've literally spent 15+ hours trying to figure out this one bug (when > I should be studying for finals). Any help is greatly appreciated. The > bug appears on the dev1 phone running cupcake. It was not present > before the upgrade. Basically, the proble

[android-developers] Re: Widget in 1.5 not deleted???

2009-05-15 Thread guruk
I tested right now also the addwidgetdemo from the api 1.5 examples. also there: 1. it always calls : static void updateAppWidget(Context context, AppWidgetManager appWidgetManager, int appWidgetId, String titlePrefix) 2. but never comes to the : public void onDeleted(Context context, int [] a

[android-developers] Widget in 1.5 not deleted???

2009-05-15 Thread guruk
Hi, i created a widget and when i look what widgets are still open i do this like: public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { final int N = appWidgetIds.length; for (int i=0; ihttp://groups.google.com/group/android-developers?hl=

[android-developers] Re: ContentProvider queries, Contacts and the SDK docs

2009-05-15 Thread Mark Murphy
> A couple of questions. First thing I was wondering is where to log > bugs in the docs. http://b.android.com > With regards to the selection options - how exactly can these handle? That's up to the individual content provider and how it stores its data. > I've seen a couple > of places where

[android-developers] Re: sharing database

2009-05-15 Thread Mark Murphy
> but the database has to be in the path of the application package or > can be in another path of the filesystem? Generally speaking, you do not have access to "another path of the filesystem". > for example, can I access to a database created in gears (the path > would be com.android.browser/g

[android-developers] Accessing rild socket

2009-05-15 Thread alexdonnini
Hello, Below, you will find the source code for a simple application testing access to the rild socket in dev/socket. Before running the application, I manually changed permissions on rild in dev/socket to allow r/w/x for all users. The application below is based in large part on code I found a

[android-developers] Re: broadcast data to other application

2009-05-15 Thread Jeff Sharkey
This sounds like a perfect candidate for a ContentProvider mixed with a broadcast Intent. When you finish an update pass, you can send off a custom broadcast that other apps can listen for. Then they wrap around to your ContentProvider to obtain the actual data. http://d.android.com/guide/topic

[android-developers] Re: How to start the intent contacts with a query

2009-05-15 Thread Jeff Sharkey
The ACTION_SEARCH intent doesn't take a data Uri, so new Intent(Intent.ACTION_SEARCH) should be enough. j On Thu, May 14, 2009 at 9:02 AM, prihei wrote: > > Hello, > > how can i open the contact view with a query? > I try this: > > Intent intent = new Intent(Intent.ACTION_SEARCH, People.CONTENT

[android-developers] Re: Question for SDK developers - behavior of setFeatureInt

2009-05-15 Thread Dianne Hackborn
On Thu, May 14, 2009 at 11:11 PM, idev wrote: > private void setCustomTitle(int value) { >try { >// retrieve value for > com.android.internal.R.id.title_container >int titleContainerId = (Integer) Class.forName( >"com.android.internal.R$id").getField > ("title_

[android-developers] Re: sharing database

2009-05-15 Thread Peterman
but the database has to be in the path of the application package or can be in another path of the filesystem? for example, can I access to a database created in gears (the path would be com.android.browser/gears/...) thanks a lot On May 15, 2:46 pm, "Mark Murphy" wrote: > > Anybody knows

[android-developers] Re: Notification without expanded View

2009-05-15 Thread Dianne Hackborn
I'm not sure if there is a way to do this, but please don't. There is less room in the status bar for icons than there is in the panel for the expanded view, so the icon are actually MORE of an annoyance than the expanded view. Plus, having an icon without an associated expanded view is just a pla

[android-developers] Re: Intermittent service start

2009-05-15 Thread Dianne Hackborn
Are you passing the flag to have the service created? What is the output of "adb shell dumpsys activity.service" during this time? (And what is the name of your service to be able to find it?) On Fri, May 15, 2009 at 10:09 AM, Ward Willats wrote: > > Man, we are pulling our out over this >

[android-developers] Re: startActivity from subclass - strange problem

2009-05-15 Thread Dianne Hackborn
Please include the complete stack crawl. On Fri, May 15, 2009 at 9:14 AM, mscwd01 wrote: > > Hey, > > I have a Activity and I have a class which extends this Activity. In > this subclass I call: > > startActivity(new Intent(this, CameraView.class)) > > Which should start the "CameraView" Activit

[android-developers] Re: Creating context, how?

2009-05-15 Thread Dianne Hackborn
You are in the wrong group -- this group is for programming against the SDK, which you are well outside the bounds of. That said, you can't really get a functional Context from outside of processes not launched by the activity manager. You'll notice that the monkey, am, and pm commands all don't

[android-developers] Intermittent service start

2009-05-15 Thread Ward Willats
Man, we are pulling our out over this We have a service. bindService() returns true. But our ServiceConnection is never called with onConnect(). The onCreate() of the service is never executed (neither is the onBind(), of course). Except sometimes! (twice now, out of many many tries). Rem

[android-developers] Re: Issue with orientation change: Dialog above activity with fixed orientation

2009-05-15 Thread Dianne Hackborn
Dialogs can't have an impact on the orientation. Just make an activity with a dialog theme, and set the orientation of the activity to the one providing the behavior you want. On Thu, May 14, 2009 at 9:11 AM, André wrote: > > Hi all, > > I have created an activity for my game which handles all

[android-developers] Re: How to restart scheduled jobs no phone restart

2009-05-15 Thread Mark Murphy
> I am developing a ToDo reminder type of app for android. > > on creation of a new reminder an alarm and vibrator scheduler is > created with a toast. This works on intents and broadcasts and is > pretty straight forward stuff with putextras using the reminder id > from the db. > > My problem is,

[android-developers] Re: 1.5 ListView disabled items

2009-05-15 Thread Romain Guy
Yes, it is intentional. On Fri, May 15, 2009 at 9:02 AM, Alexey wrote: > > Hi all , i've noticed after i've switched to 1.5 that if ListView item > is not enabled the divider(s) for this item are not rendering. Is this > intentional ? > > > -- Romain Guy Android framework engineer romain...@

[android-developers] Re: Polite discussion of lite/trial vs pro distribution

2009-05-15 Thread Keith Wiley
Whether on or off topic, I don't know, but my approach has been to keep a lite/demo version and pro version of my app. This requires more effort on my part, but it seems like the best solution. I've been chided for calling my lite version "lite" instead of "demo", but that is a matter of perspec

[android-developers] Issue with orientation change: Dialog above activity with fixed orientation

2009-05-15 Thread André
Hi all, I have created an activity for my game which handles all orientation changes by itself and has a fixed "portrait" layout. Actually it uses the accelerometer and is rendered using 2D canvas methods. If the level has been completed I show up a highscore dialog in which the user can enter hi

[android-developers] About logger_event

2009-05-15 Thread pibada
Hello, In logger_event structure, it exists msg[] as payload's message. Just I'm curious that how to write the payload's message in Android. The reason is that I want to change the specific part of the msg array, for example msg[0] do always 05 when the msg exists. If you know anythig about thi

[android-developers] broadcast data to other application

2009-05-15 Thread gour
Hi I create an application where i get the various data from net (say for example i am getting the temperature information of particular city and another data is the information of stock value of a particular company) now i want to broadcast that various data to all application. I create a reg

[android-developers] Query - Android UI/worker threads

2009-05-15 Thread latha...@gmail.com
Hi All This query is regarding android UI & Worker threads. I am writing an application in which I have 1.An Activity with a button in it. On clicking this button, i need to start a new thread which would do some graphics rendering by calling native C calls.(these are loaded in the form of a s

[android-developers] Re: Google Login Service not working on SDK 1.5

2009-05-15 Thread kk
Hi Farida, I am experiencing the same issue. Has anybody responded to your inquiry? Regards, KK On Apr 29, 12:48 am, farida wrote: > I downloaded the latest release of android SDK 1.5, but unable to give > the credentials for the "Google Login Service" from devTools. Clicking > on the Google

[android-developers] How the setRouting() and doRouting which is to select endpoint audio device is implemented.

2009-05-15 Thread zhiguo
I want to add one more endpoint audio device in android and am trying to modify the setRouting() functions to support the selection of the new added audio device. As far I traced, the doRouting() in class AudioHardwareOss should perform the audio endpoint device selection. However, donRouting() ju

[android-developers] Re: Creating context, how?

2009-05-15 Thread Maulin
In your main activity you can create something like this Context context = this; Then you can pass the context object to any other methods that need it as a parameter. On May 15, 9:41 am, SGAdrian wrote: > Sorry but I dont get it. > > I am starting my java program with app_process, i.e I am no

[android-developers] How to start the intent contacts with a query

2009-05-15 Thread prihei
Hello, how can i open the contact view with a query? I try this: Intent intent = new Intent(Intent.ACTION_SEARCH, People.CONTENT_URI); intent.putExtra(SearchManager.QUERY, "Heiko"); startActivity(intent); I get this error: android.content.ActivityNotFoundException: No Activity found to handle I

[android-developers] Android and the Generic Bootstrapping Architecture authentification system

2009-05-15 Thread GAYET Thierry
Hi, I am asking if Android already include a GBA (Generic Bootstrapping Architecture) authentification system ? If not, does any other group have ever try to add this protocol (almost the same as SSL) within the Android framework ? The GBA architecture is defined with 2 documents from the 3GPP :

[android-developers] Re: Android SDK Content Loader gets stuck....

2009-05-15 Thread az9...@gmail.com
Stack trace was sent by email. Part of it is shown below. Trace was captured on Eclipse start (after turning back on "Projects- >Build Automatically") & Android SDK Content Loader stuck at 60%. Let us know what you find or send more detailed info on capturing trace dump. ##---

[android-developers] PV2wayEngine crash

2009-05-15 Thread srinu gorle
Hi, i want to test 324 in the existing code. i couldnt find any test case document in the http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree i have tried to run $adb shell #cd system #cd bin ./pv2way_omx_engine_test i tried without any arguments to give arguments i couldnt

[android-developers] How the setRouting() and doRouting which is to select endpoint audio device is implemented.

2009-05-15 Thread zhiguo
I want to add one more endpoint audio device in android and am trying to modify the setRouting() functions to support the selection of the new added audio device. As far I traced, the doRouting() in class AudioHardwareOss should perform the audio endpoint device selection. However, donRouting() ju

[android-developers] Android Theme Customization

2009-05-15 Thread salman.geek
Hi to all... I want to override the default behavour of the Android Application. For example In Android Hyperlinks are by default have orange color border and i want to change the border according to my requirements. Please help me out of this... I will be really gratefull to all of u Regard

[android-developers] Android and the GBA (Generic Bootstrapping Architecture) authentification system

2009-05-15 Thread GAYET Thierry
Hello, I am asking if Android already include a GBA (Generic Bootstrapping Architecture) authentification system ? If not, does any other group have ever try to add this protocol (almost the same as SSL) within the Android framework ? The GBA architecture is defined with 2 documents from the 3GPP

[android-developers] Browser Download Manager - GETs, but doesn't POST

2009-05-15 Thread brian
I posted this on android-platform a while ago, but didn't see any response, so I'll try here. I've been combing through the browser app's source trying to make sure I understand this, and I think I do. I found http://code.google.com/p/android/issues/detail?id=1978 which details a question about

Re : [android-developers] Re: Diplay Logcats logs on console

2009-05-15 Thread GAYET Thierry
Hello, I am asking if Android already include a GBA (Generic Bootstrapping Architecture) authentification system ? If not, does any other group have ever try to add this protocol (almost the same as SSL) within the Android framework ? The GBA architecture is defined with 2 documents from the 3G

[android-developers] How to restart scheduled jobs no phone restart

2009-05-15 Thread Viresh
I am developing a ToDo reminder type of app for android. on creation of a new reminder an alarm and vibrator scheduler is created with a toast. This works on intents and broadcasts and is pretty straight forward stuff with putextras using the reminder id from the db. My problem is, if some one r

[android-developers] Re: Android 1.5 bug with earphone detection

2009-05-15 Thread Brad
Have just bought the YC A300 and agreed that this does not work. I am hoping this can be fixed. On May 5, 4:07 pm, archinform wrote: > On my Google dev phone there is a problem with the new 1.5 version in > combination with an official HTC adapter cable YC A300 and 3.5mm > earphones. Android d

[android-developers] Android Theme Customization

2009-05-15 Thread salman.geek
Hi to all... Im having some problem in the Android W --~--~-~--~~~---~--~~ 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

[android-developers] Re: Google Login Service not working on SDK 1.5

2009-05-15 Thread kk
Hi All, I experience the same behavior Farida is reporting. It appears the GoogleLoginService is not found on emulator. Here is my emulator info: Target: Google APIs (Google Inc.) Based on Android 1.5 (API level 3) Skin: HVGA Sdcard: 100M Here is my logCat output: 05-16 01:04:02

[android-developers] OpenGL ES portability...

2009-05-15 Thread Shrinivas
Hi All, I am very new to this domain. I want to port OpenGL-ES + Android on some HW platform. I have following queries regarding the same. 1) Does Android use OpenGL-ES for both 2D & 3D applications? 2) I want to use hardware accelerators for the OpenGL-ES Library. I want to know what difficulti

[android-developers] startActivity from subclass - strange problem

2009-05-15 Thread mscwd01
Hey, I have a Activity and I have a class which extends this Activity. In this subclass I call: startActivity(new Intent(this, CameraView.class)) Which should start the "CameraView" Activity. However, I always get this error: ERROR/AndroidRuntime(876): java.lang.NullPointerException ERROR/Andr

[android-developers] 1.5 ListView disabled items

2009-05-15 Thread Alexey
Hi all , i've noticed after i've switched to 1.5 that if ListView item is not enabled the divider(s) for this item are not rendering. Is this intentional ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: UI problem

2009-05-15 Thread Streets Of Boston
You want a delay between changing the button's text and showing the new content-view? If that's the case, private void markUser(int index) { btnArray[index].setText(mark); btnArray[index].setClickable(false); postDelayed(new Runnable() {

[android-developers] How to connect to a wireless network

2009-05-15 Thread Ventrix Kostis P.
I would like to give me an example on how to connect to a wireless network. The following code I have tested does not work... WifiManager mainWifi = (WifiManager) getSystemService (Context.WIFI_SERVICE); WifiConfiguration wfc = new WifiConfiguration(); wfc.SSID = "\"foobar\""; wfc.priority = 1;

[android-developers] Re: how can i parse epub file

2009-05-15 Thread alan
if its not encrypted then I imagine you could probably just extract the html and view the individual pages in a webview On May 14, 4:24 pm, zeeshan wrote: > Hi, > > i am wondering if there is any way to parse and display epub file in > android? --~--~-~--~~~---~--~---

[android-developers] Re: Prevent clearing Canvas in onDraw() ?

2009-05-15 Thread alan
draw everything to an offscreen image then just draw the image onto the canvas for each ondraw On May 14, 5:21 pm, "ellipsoidmob...@googlemail.com" wrote: > By overriding onDraw you're taking responsibility for drawing the > whole view, so you have to draw everything everytime > > I don't know t

[android-developers] Structure of tables

2009-05-15 Thread rico_1
Hi, Does any one know structure of tables in Android? I know structure of table sms (content://sms/): _id, thread_id, address, person, date, protocol, read, status, type, reply_path_present, subject, body, service_center. Does any one know structure of the rest sms tables? and what tables are in

[android-developers] Re: Location.convert possible bug

2009-05-15 Thread ellipsoidmob...@googlemail.com
You are right! I reproduced in my own GPS app and if seconds>59 you get a conversion error. I took a quick look in the android source (location/java/ android/location/location.java) and the bug is clearly visible: Currently reads: if (sec < 0 || sec > 59) { throw new IllegalArg

[android-developers] Cascading deletion?

2009-05-15 Thread arnouf
Hi all, If I delete a contact using contentresolver.delete(...), all information is deleted - even information presents in contact_methods, phones...? regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: Animated progress in Imageview

2009-05-15 Thread Al
On May 14, 8:29 pm, Romain Guy wrote: > The title bar uses a RotateDrawable. The animation is driven by the > ProgressBar widget. Thanks Romain, it works perfectly now. @Mark, I was expecting to be able to do something like RotateAnimation r = new RotateAnimation(this, R.drawable.progress), wh

[android-developers] Re: Accelerometer is cukoo???

2009-05-15 Thread doubleslash
This problem occurs only when activity is set explicitly to landscape in manifest. Anyway to make it work in landscape? Thanks On May 14, 10:16 pm, doubleslash wrote: > I see an acceleration of -9 in the y-direction ( due to gravity, of > course). Now, keeping the phone fixed, not rotating the s

  1   2   >