Re: [android-developers] Re: Something wrong here error message

2010-01-10 Thread Petroleum Nasby
I have this happen frequently on an app that I wrote, also running on a Droid. Usually an activity which just started is killed, and this message appears in the log. Since this is happening with an embedded WebView, it has a very disconcerting effect on the user, completely interrupting their

Re: [android-developers] Re: any nexus discount for developers?

2010-01-10 Thread Jeffrey Blattman
Do any of the other mobile OS developing organizations hand out free phones to developers? On Jan 9, 2010 11:12 PM, blindfold seeingwithso...@gmail.com wrote: Probably not. Googlers got one for free, but us mortal developers are not considered worthy of a similar treatment. On Jan 10, 6:22 am,

[android-developers] driving a Service through a versioned interface

2010-01-10 Thread DulcetTone
How is an app supposed to be able to use an underlying service whose name does not change, but whose AIDL file has changed from one Android version to another? The only way I can guess at it allows me to start the remote service just fine, but it gives me a security exception when I try to use

[android-developers] How to get the version information

2010-01-10 Thread jax
How to I get the version name from the Manifest, I tried the following but I get a Null Pointer Exception. //Set the version PackageInfo info = new PackageInfo(); TextView versionTextView = (TextView) findViewById(R.id.version);

[android-developers] Re: any nexus discount for developers?

2010-01-10 Thread blindfold
I do not know about other mobile OS developing organizations, but in the past I certainly received free hardware or other tangible signs of appreciation from companies in return for developing with or beta- testing their SDKs - and without any strings or conditions attached. On Jan 10, 9:27 am,

Re: [android-developers] Re: any nexus discount for developers?

2010-01-10 Thread Yves Glodt
2010/1/10 blindfold seeingwithso...@gmail.com Probably not. Googlers got one for free, but us mortal developers are not considered worthy of a similar treatment. about mortal developers... Lucky you are that you are not an iPhone dev... being harassed to buy a mac, plus at least $99 for

[android-developers] Alarm

2010-01-10 Thread Ali Murtaza
hi Can anyone tell how to set alarm using my application.. give me the refference of the API -- Ali Murtaza BCSF06M021 Research Assistant Data Virtulization Ware House PUCIT, Lahore, Pakistan ali.murt...@pucit.edu.pk -- You received this message because you are subscribed to the Google Groups

[android-developers] MediaPlayer : detect buffering event

2010-01-10 Thread arnouf
Hello, I don't find a solution to detect that a video is blocked when is buffering content. I try to add listener on MediaPlayer object but only onBufferingUpdate is called. It's always called when a video is playing (normal is streaming). But I don't find an event or a method indicating that the

Re: [android-developers] Re: any nexus discount for developers?

2010-01-10 Thread Sena Gbeckor-Kove
Depends how in bed you are with them. Most handset manufacturers will loan devices to devs they have a relationship with. But you generally have to give them back :( S --- Sena Gbeckor-Kove CTO/Founder - imKon UK : +44 7788 146652 NL : +31 62 434 1290 s...@imkon.com|www.imkon.com

[android-developers] WebView does not display normally?

2010-01-10 Thread croco
Hi all, I'm trying without success to shape a simple screen composed of a webview and a closebutton on the bottom. When i run it i see the button close at bottom but when the loadURL of the webview is done the webview takes all the screen size and hide the close button ;( FYI i load the url

Re: [android-developers] WebView does not display normally?

2010-01-10 Thread Mark Murphy
croco wrote: Hi all, I'm trying without success to shape a simple screen composed of a webview and a closebutton on the bottom. When i run it i see the button close at bottom but when the loadURL of the webview is done the webview takes all the screen size and hide the close button ;(

[android-developers] (SIGSEGV) fault when create and exit app a few times

2010-01-10 Thread Albert
Hi, Im getting this error caused by VM( logcat below from emulator, it also happens on the device) This is a know bug filed at least 3 times with different issues http://code.google.com/p/android/issues/detail?id=4450can=4colspec=ID%20Type%20Status%20Owner%20Summary%20Stars#c4

[android-developers] Re: How to get the version information

2010-01-10 Thread jax
Solved it: use PackageInfo pinfo = getPackageManager().getPackageInfo (this.getPackageName(), 0); String versionName = pinfo.versionName; On Jan 10, 5:14 pm, jax jackma...@gmail.com wrote: How to I get the version name from the Manifest, I tried the following but I get a Null Pointer

Re: [android-developers] Alarm

2010-01-10 Thread Mark Murphy
Ali Murtaza wrote: hi Can anyone tell how to set alarm using my application.. give me the refference of the API If by alarm you mean the Alarm Clock application, there is no API -- you cannot set alarms from SDK applications. If by alarm you mean you want code of yours to run on a scheduled

Re: [android-developers] driving a Service through a versioned interface

2010-01-10 Thread Mark Murphy
DulcetTone wrote: How is an app supposed to be able to use an underlying service whose name does not change, but whose AIDL file has changed from one Android version to another? IMHO, ideally the service uses a different intent filter per version of AIDL it supports, and you bind to the

[android-developers] Echo Cancellation

2010-01-10 Thread Omer Gilad
Does anyone know how to use the device's echo cancellation functionality? I'm implementing my custom VoIP and it would save me a lot of work and CPU usage if the device did that for me, like in a GSM \CDMA call. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Memory Leak in my map overlay

2010-01-10 Thread jgostylo
I have been banging away at this one for weeks and I feel like I have exhausted my research capabilities. I am hoping that someone will see my error in the code posted below. The code is completely functional doing everything I need, but there is a major memory leak. When I try to track memory

[android-developers] Re: driving a Service through a versioned interface

2010-01-10 Thread DulcetTone
I agree Mark. But here, I have no means to alter the service and cannot do as you suggest. The only alternatives that occur to me are: 1. I write a separate service (deployed in a separate package... installed separately? yuck) that wraps one of the two underlying services to offer my app

Re: [android-developers] Re: driving a Service through a versioned interface

2010-01-10 Thread Mark Murphy
DulcetTone wrote: I agree Mark. But here, I have no means to alter the service and cannot do as you suggest. OK, though then I am confused as to what the service is actually doing that you're trying to connect to. You say there are two different AIDL files. What is the determining factor to

[android-developers] Re: any nexus discount for developers?

2010-01-10 Thread ian
Well considering the larger market for iPhones, especially in Canada, I guess the Apple developers probably get their money's worth. With the relentless rollout of newAndroid versions, the small market share, and the proliferation of proprietary brand variations, I don't think Android developers

[android-developers] Re: WebView does not display normally?

2010-01-10 Thread croco
Hello Mark, Yes i've tried to use scrollview after many unsucessful attempt to post my issue on the android group. On your advice i switched code to LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent

Re: [android-developers] Re: WebView does not display normally?

2010-01-10 Thread Mark Murphy
croco wrote: Hello Mark, Yes i've tried to use scrollview after many unsucessful attempt to post my issue on the android group. On your advice i switched code to LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-developers] Re: driving a Service through a versioned interface

2010-01-10 Thread DulcetTone
Here is more detail: my app uses a small subset of Android's MediaPlaybackService (which underlies its Music app) The problem is that the AIDL for some of the few functions I use have changed from Android 1.x to 2.x Therefore no single com.android.music.IMediaPlaybackService.aidl file will be

[android-developers] Re: Nexus 2.1 one sale, WHERE is the SDK!

2010-01-10 Thread vorcigernix
Whole idea of having google superphone and write some main parts of OS as closed source bits for that device is flawed from beginning. On other hand, if your code works on 2.01, then it should work on nexus (except that hw related things). I am missing some big notice on developers page month

[android-developers] Re: WebView does not display normally?

2010-01-10 Thread croco
Hi Mark, I've tried with layout_weight parameter and without it without success. Can you explain please? Regards. Croco On Jan 10, 4:27 pm, Mark Murphy mmur...@commonsware.com wrote: croco wrote: Hello Mark, Yes i've tried to use scrollview after many unsucessful attempt to post my

[android-developers] Re: WebView does not display normally?

2010-01-10 Thread croco
Mark, Ok i got what you mean. I set android:layout_weight instead. The screen was about to display well webview on top with blank page with close button on top as expected, but when the loadURL is run it webview continue to cover the close button :(. Thanks to advice or maybe how do something

[android-developers] Re: Retrieving the phone maker and phone model

2010-01-10 Thread Walter
You can try this: DisplayMetrics dm = new DisplayMetrics(); WindowManager wm = (WindowManager)this.getContext().getSystemService (Context.WINDOW_SERVICE); wm.getDefaultDisplay().getMetrics(dm); dm.widthPixels,dm.heightPixels;

[android-developers] Re: WebView does not display normally?

2010-01-10 Thread croco
This code is not more successful :( RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent WebView android:id=@+id/webview android:layout_width=fill_parent

[android-developers] permission enforcement

2010-01-10 Thread dane131
hallo, i have two applications A and B (in different packages).A can send an explicit intent to B to perform some kind of action.Then,I enforced a permission in application B called my.permissions.B_PERMISSION .The A application can still call B despite the fact that it doesn't have the

Re: [android-developers] permission enforcement

2010-01-10 Thread Mark Murphy
dane131 wrote: Then,I enforced a permission in application B called my.permissions.B_PERMISSION Can you be more specific about how you attempted to do this? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books:

[android-developers] Re: permission enforcement

2010-01-10 Thread dane131
i put the following tag in the manifest of app B: permission android:label=@string/B_PERMISSION_label android:name=my.permissions.B_PERMISSION android:description=@string/B_PERMISSION_desc android:protectionLevel=signatureOrSystem/permission and installed the application again.A could still call

Re: [android-developers] Re: permission enforcement

2010-01-10 Thread Mark Murphy
dane131 wrote: i put the following tag in the manifest of app B: permission android:label=@string/B_PERMISSION_label android:name=my.permissions.B_PERMISSION android:description=@string/B_PERMISSION_desc android:protectionLevel=signatureOrSystem/permission and installed the application

Re: [android-developers] Re: Create Nexus One live wallpaper

2010-01-10 Thread Beth Mezias
Just to confirm, the code is ok if it sets the theme: setTheme(android.R.style.Theme_Wallpaper); Merci beaucoup! On Sat, Jan 9, 2010 at 11:50 AM, Romain Guy romain...@android.com wrote: Can you please tell me if an app is picking up the system wallpaper to set it in an Activity,

[android-developers] Re: permission enforcement

2010-01-10 Thread dane131
what do you mean use it? so how can i create my own permissions for an application? On 10 Ιαν, 19:55, Mark Murphy mmur...@commonsware.com wrote: dane131 wrote: i put the following tag in the manifest of app B: permission android:label=@string/B_PERMISSION_label

Re: [android-developers] Re: permission enforcement

2010-01-10 Thread Mark Murphy
dane131 wrote: what do you mean use it? so how can i create my own permissions for an application? Please read the documentation I linked to: http://developer.android.com/guide/topics/security/security.html#declaring -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: permission enforcement

2010-01-10 Thread dane131
you were right..thanks mate On 10 Ιαν, 20:04, Mark Murphy mmur...@commonsware.com wrote: dane131 wrote: what do you mean use it? so how can i create my own permissions for an application? Please read the documentation I linked to:

Re: [android-developers] Re: driving a Service through a versioned interface

2010-01-10 Thread Mark Murphy
DulcetTone wrote: my app uses a small subset of Android's MediaPlaybackService (which underlies its Music app) Bear in mind that this is not supported by the SDK, so I'm not surprised you're encountering problems. http://www.androidguys.com/2009/12/14/code-pollution-reaching-past-the-sdk/

[android-developers] applying style to textview

2010-01-10 Thread tlegras
Hi, I am trying to apply common style to different textview that can be either defined in a layout xml file or programmatically and that does not seem to work for some attributes: My style in styles.xml is: style name=ListName item name=android:colorForeground#f0f/item item

Re: [android-developers] Re: Create Nexus One live wallpaper

2010-01-10 Thread Romain Guy
No, don't do this in code, do this in your manifest. Otherwise there will be an ugly transition. On Sun, Jan 10, 2010 at 9:57 AM, Beth Mezias emez...@gmail.com wrote: Just to confirm, the code is ok if it sets the theme:         setTheme(android.R.style.Theme_Wallpaper); Merci beaucoup! On

Re: [android-developers] Re: Create Nexus One live wallpaper

2010-01-10 Thread Beth Mezias
The program has more than one theme possible. The theme is set based on a preference, *before* the content view is set. Does that make a difference? I can make the same wallpaper theme a parent for my other (gradient drawable) themes. Currently, the other choices inherit from Theme. In this

Re: [android-developers] Re: continuous audio recording in memory

2010-01-10 Thread frantz lohier
Ok thanks. Do you think there's a way to do that purely in Java/Using the framework ? Thanks, On Wed, Jan 6, 2010 at 11:27 AM, HeHe cnm...@gmail.com wrote: a look at .../framework/base/media/.../AudioRecord.cpp should be helpful~ On Jan 6, 10:11 am, frantz lohier floh...@gmail.com wrote:

Re: [android-developers] Re: any nexus discount for developers?

2010-01-10 Thread Jeffrey Blattman
with the risk of coming across as inflammatory ... you should ask yourself why you are here complaining about android and not somewhere else discussing webos or iphone OS or windows mobile. there are lots of alternatives. my reason is that i thought i could get in the ground floor. it turns out

[android-developers] attaching a slidingdrawer to my activity

2010-01-10 Thread schwiz
Can anyone explain how to attach a sliding drawer to an activity. I get the xml creation part but what do you need to call to actually attach your xml creation to the activity, or even better to a layout within the activity. -- You received this message because you are subscribed to the Google

Re: [android-developers] attaching a slidingdrawer to my activity

2010-01-10 Thread Mark Murphy
schwiz wrote: Can anyone explain how to attach a sliding drawer to an activity. I get the xml creation part but what do you need to call to actually attach your xml creation to the activity, or even better to a layout within the activity. Well, here's a small sample:

[android-developers] Re: attaching a slidingdrawer to my activity

2010-01-10 Thread schwiz
oh so you just put the sliding drawer along with the rest of your normal layout then? they are making it too easy. Is that sample from one of your books? I have a subscription but I couldn't find anything on drawers in them. On Jan 10, 2:27 pm, Mark Murphy mmur...@commonsware.com wrote:

Re: [android-developers] Re: attaching a slidingdrawer to my activity

2010-01-10 Thread Mark Murphy
schwiz wrote: oh so you just put the sliding drawer along with the rest of your normal layout then? Yup. Is that sample from one of your books? Yup, _The Busy Coder's Guide to Android Development_, Version 2.8. I have a subscription but I couldn't find anything on drawers in them.

[android-developers] Re: How do I overlaying transparent gifs

2010-01-10 Thread SChaser
Answering my own question: If using the draw method on an ImageView, the transparent color is treated as transparent. No extra effort is required. The Z-order is in order of the draw operations (not surprising). Example code: if ( bm1 != null ) { canvas.drawBitmap(bm1, (Rect)null, r,

[android-developers] android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED

2010-01-10 Thread Alex Corbi
HI everybody, im currently looking for the way that my app knows when the phone has being paired and connected to a bluetooth headset device. I read something about this intent, but not on the Reference documentation of http://developer.android.com

[android-developers] Re: Android 2.x - Lost the ability to route audio

2010-01-10 Thread Alex Corbi
Yep, i'm also interested in this... Also how to detect when a bluetooth headset device is being paired and connected with the phone. Actually i started this conversation: http://groups.google.com/group/android-developers/browse_thread/thread/a4dda4e7f905a383 On Dec 24 2009, 10:08 pm, Doug

Re: [android-developers] adb devices not seeing my phone

2010-01-10 Thread dan raaka
Most likely, you have not enabled your adb on this device try this ... remove the usb connection kill the adb start adb again connect the behold2 check the usb connection using lsusb -v now try adb devices verify if adb is enabled #1 settings - phone settings - USB settings (make sure you select

[android-developers] App widget configue activity opens main activity.

2010-01-10 Thread BiiG
I hav an app that is like a relational database. There is a main app activity that users manage things with. There is also a widget that will display important info and add data to the database. When the widget is clicked, a configure class displays a way for the user to edit data. When the

[android-developers] Re: Android “hover” event i n custom layout

2010-01-10 Thread k_day
I have been playing around with onInterceptTouchEvent, but I still cannot figure out how to accomplish this. If I intercept the touch event in my layout, the imageView that currently was handling the touch will be sent an action_cancel. However, as I continue to move over another imageView, I

Re: [android-developers] Re: iPhone to Android: Creating good Android Interfaces

2010-01-10 Thread Kent Loobey
On Saturday 09 January 2010 23:18:58 kylestew wrote: ... I am hoping the Android community will come together on the subject of interaction design. Its going to take developers making apps with good usability for Android to beat iPhones market share. +1 -- You received this message because

[android-developers] What is the life-cycle of a BitmapDrawable?

2010-01-10 Thread arielm
There is probably some kind of image caching system behind the scenes, but I can't find any implementation details... Scenario 1: ImageView v1, v2; ... v1.setImageResource(R.drawable.img1); v2.setImageResource(R.drawable.img1); I guess that img1.png won't be loaded and decoded twice. Instead,

[android-developers] Different Input Method in different Orientation

2010-01-10 Thread No_Name
As my phone ( motorola droid/milestone ) has a hardware keyboard, I want to use (input method) IME A when the phone is in portrait ( keyboard closed) mode, and use IME B hen the phone is in landscape( keyboard opened ) mode. However, this function is not provided by android system itself, so I

[android-developers] How to create the selection bar like Clock and Footprints App on HTC Magic

2010-01-10 Thread Charles
I am a simple app that has a main screen and a settings screen. I like the look of the selection bar from the Clock and Footprints App on HTC Magic. 1) What is this selection bar called? 2) Is there a way do this using the Android SDK? Thanks for all your help! Charles -- You received this

[android-developers] onTouchEvent stops responding properly after being held down continuously for ~30 seconds?

2010-01-10 Thread Josh
I have a game which requires the user to drag back and forth to control a player. I am capturing onTouchEvent to handle the controls. The issue I'm having is that if you hold down your finger in the same area for ~30 seconds, it stops calling onTouchEvent for certain parts of the screen where your

[android-developers] big problem installing ADT

2010-01-10 Thread sebastian.zim
I have installed eclipse and the android SDK but when I tried to install the ADT I get the following error: Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 0.9.5.v200911191123-20404

[android-developers] Repo Q: Differences between local src git http server src

2010-01-10 Thread Renota
Hi, I was wondering if anyone has encountered this issue and/or if they may shed some light on it. Basically, I get a copy of the Eclair source locally using: repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair But when I compare the contents of some of these files

[android-developers] Abstract Problem

2010-01-10 Thread Ranxerox
Actually my issue is quite definite, and not by any means critical. I built a custom widget with a layout and a class. For some reason I made the class abstract. Worked fine in the emulator. Cost me a bit of time to figure out why it kept crashing on my G1. Apparently emulator will

[android-developers] Question Concerning Cursor / Query SQLite

2010-01-10 Thread sn00zer
Ok. Here it is. I'm trying to create a data summary screen. My db layout is _id, joinedDate, isActive, firstName, lastName I want my cursor to return recordDate . . and a count for the number of records that have that particular date. I just want joindDate and and a record count column.

[android-developers] How to handle alt characters on hardware keyboards on different devices

2010-01-10 Thread kanatacrude
In the emulator, if I want to get the '[' character, I hit 'Alt' then 'f'. In my custom view, this invokes two onKeyDown callbacks for keycodes 57 (alt) then 34 (f). So I had been happily building my app to handle 57 then 34 as a '[' . Now I look at the hardware keyboard on a droid and 'Alt'

[android-developers] Unable to get redraw of View

2010-01-10 Thread jamesc
Hi I've a problem with getting a redraw of a View in my application. My app's main.xml looks like this: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent

[android-developers] اود التعرف عليكم

2010-01-10 Thread عبدة حرز
انا من مصر مدرس واحب التعرف على امريكا والامريكين شكراً-- 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] Android ADT update is failing.

2010-01-10 Thread Sanjay Dandekar
I am trying to update my ADT from v0.9.4 to v0.9.5. But it fails with an error: An error occurred while collecting items to be installed No repository found containing: org.springframework.osgi.backport.util.concurrent/osgi.bundle/3.0.0 Any idea what is wrong? - Sanjay -- You received this

[android-developers] Customized grammar for Voice Recognition

2010-01-10 Thread Marco Riccini
Hi, as described in the object, I'm searching for a way to create a customized grammar for Voice Recognition ( an example of Voice Recogntion is available in the APIDemos-App). I've found some info about a package android.speech.recognition, that allows to create an object Grammar, but it's nearly

[android-developers] Installing app on android device

2010-01-10 Thread Tommy
Hi, I am new to android and I currently got a droid so I could test out apps before publishing them to the market. My question is how to I get the app from Eclipse to the Droid and install it? Currently I open eclipse right click the project go to android tools and do export unsigned version. I

Re: [android-developers] keep webview in one activity

2010-01-10 Thread Mark Murphy
dai wrote: Does some please let me know how to use webview? I want to make a webview keep to work wthin in a layout without opening new web browser when clicking a link tag. You need to attach a WebViewClient to the WebView and implement shouldOverrideUrlLoading(). In there, load the

[android-developers] Re: How many Android Widget Classes are there?

2010-01-10 Thread jamesc
http://developer.android.com/reference/android/widget/package-summary.html On Jan 9, 8:03 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, Any one know about In Android Widget Package how many Classes are there? -- Thanks Regards Sasikumar.S -- You received this message because you

[android-developers] Steps to get sdk to recognize phone (Google ION/HTC Magic/OpenSUSE 10.3).

2010-01-10 Thread brycen
For future googlers, here are the steps I needed to get the Andriod SDK to recognize my phone over USB: 1) Set MENU-Settings-Applications-DevelopmentUSB debugging ON 2) Delete /etc/udev/rules.d/51-android.rules. All this file does is map permissions so non-root users can access the phone. Do

[android-developers] application reset on tilt

2010-01-10 Thread schnie
hey guys im working on an app and have been testing it out on my friends motorola droid. for some reason when you tilt the droid onto its side it appears to restart the entire app. does anyone know why this would happen? thanks a lot! -- You received this message because you are subscribed to

[android-developers] draw 2 triangle and apply different bmp texture

2010-01-10 Thread kavitha chidambaram
hi, i can draw 2 triangle with different coords, i want to apply different bmp texture to the triangle. is it possible to map two different texture on two different triangle -thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Application restarts when exiting with back button

2010-01-10 Thread duy bui le
I also got this issue :( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Re: ADT Plugin for Exlipse installation fails

2010-01-10 Thread JBao
I erased the folders of workspace and .eclipse. rm -rf .eclipse/ rm -rf workspace/ Restart the eclipse, installed WST as described above, and then the ADT can also be installed. Regards. Jason -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Camera preview from API demos looks weird in HTC Hero

2010-01-10 Thread a beginer
I am trying to run the camera preview example from the API demos on my HTC Hero (Sprint). However, the preview looks grainy and unclear. Are there any device specific settings that I need to be aware of? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] adb devices not seeing my phone

2010-01-10 Thread Kevin Duffey
Don't mount it as USB. VY vyau5...@gmail.com wrote: I just did this and adb devices is still showing nothing. I did all these while the phone is mounted as a USB drive on my Linux host. Is that ok? I also did all these with sudo, so have root privileges On Sat, Jan 9, 2010 at 4:29 PM, Mark

[android-developers] TableLayout column alignment emulator vs. G1 1.6

2010-01-10 Thread Ranxerox
I have a TableLayout in a custom widget. On the emulator the columns line up perfectly. On my G1 running 1.6 they don't line up. I should note that the TableRow children don't all have the same number of children (columns). I tried adding extra cells to the shorter rows but that didn't fix it.

Re: [android-developers] Re: How should I set up my app? Database for flash cards?

2010-01-10 Thread Kevin Duffey
I too am going to make a simple flash card game..mostly for my kids.. not sure if I'll put it up on market..probably quite a few up there already. The way I had envisioned it is using the 2D api to draw on a surface of an image of a card. Not entirely sure just yet..but I would start a thread

[android-developers] Re: Droid fonts: Georgian alphabet Mkhedruli

2010-01-10 Thread Tornike
Hello Sebastian, As I understood you have installed Georgian alphabet on android 2.0. I'm trying to install it too, but still don't have any progress. Can you please help me with this. Thank you in advance. On Nov 17 2009, 11:55 pm, Sebastian Scherer seb...@gmail.com wrote: Hallo everyone,

[android-developers] Continuously update trackball coordinates

2010-01-10 Thread Anton
Hi! I'm trying to figure out how to continuously update the coordinates of the trackball. Right now, I just want to write the values on change to TextViews to understand how it works. I've been looking at the onTrackballEvent. Right now, I assume that each event passed as an argument to it

[android-developers] quite interesting

2010-01-10 Thread t mal
This site, http://www.shoppingreps.com?SourceId=11221, allows customers to work as group representative to a group of people. It is a fantastic idea. I want to buy a cell phone and I registered my intention. I am waiting for more than 1 week but I didn’t get any email or any other information

[android-developers] Classloader same on Android as JavaSE

2010-01-10 Thread Kevin Duffey
Hey all, I wrote a plugin engine similar to the original eclipse engine before the OSGi change a few years back. I have not delved into it much yet, still getting my bearings on Android, but I am curious if the capabilities of dynamically loading classes via a custom classloader is possible with

[android-developers] play video file inside the triangle using opengles - andorid

2010-01-10 Thread kavitha chidambaram
Hi, i want to play video file on each side of the triangle using opengles. how to map video file to the opengl es interface? i want to map different texture on the each side of the cube and triangle. is it possible to map two texture on triangle? thanks... -- You received this message

[android-developers] Re: How to add footer and Header to a list

2010-01-10 Thread jamesc
Take a look at ListView's addHeaderView(View) and addFooterView(View). On Jan 8, 12:17 pm, RamaMohan rama.mohan...@gmail.com wrote: Hi all, I have a list view and i need to add a header and footer .In the footer i need to have a button like Next   to go to next page.I need it urgently. If

[android-developers] telnet to localhost:5554 prompts for password

2010-01-10 Thread abdullah
I'm developing on Eclipse using Android 2.0.1. After I run the emulator and attempt to telnet to localhost:5554 a login/password prompt appears saying BusyBox on localhost login:. I have no clue what this login and password might be. I've tried many combos including typing nothing in and android.

[android-developers] Client / Server, JBoss or Apache Tomcat

2010-01-10 Thread JFrog
Through the prelimenary filtering that I have done as I start to understand development with the Android SDK is that it uses a subset of libraries based on the Java language on a similar JVM virtual machine. Applications can be created on the phone through Eclipse with the plug-ins. This

[android-developers] How to animate between two instances of the same activity?

2010-01-10 Thread Shrey
i want to animate between new instance and old instance of the same activity. Flow is like this onCreate()-onResume-onPause-onNewIntent()- onResume(). I want to animate between two onResume, where I change the values of the layout objects. Can i make use of overridePendingTransition( ) ? If yes

[android-developers] Fonts and Arabic support

2010-01-10 Thread Yousef Alhashemi
Hi, So I'm playing around with a little Android (2.0) application I'm writing, and whenever I use a TextView with Arabic text, it just shows as rectangles. Since Android has unicode support (correct if I'm wrong), I'm guessing this a font issue. I've seen a couple of other threads about Arabic

[android-developers] Accessing Email Attachments

2010-01-10 Thread Joe
I am trying to access an email attachment, what is the best approach? I have tried using a content provider like content:// com.android.email.attachmentprovider, but i get a security exception. When i add a permissions like uses-permission

[android-developers] Pass Array from Java to C (over JNI) work in an activity but fail in a thread?

2010-01-10 Thread nemo
Hi! All: I've stuggle of this problem few days, search many hours but not sure what's I should try. Thanks in advance. I have a native c function which take jintarray as a parameter, and I wanna pass a int array to it. I use GetIntArrayRegion to copy out the content of jintArray. JNIEXPORT

[android-developers] Apps for Android - are they maintained?

2010-01-10 Thread roger.moffatt
Hiya I've been trying to get to grips with the sample projects provided over at http://code.google.com/p/apps-for-android/ and generally find that none of them will actually build in Eclipse (Ganymede). Panoramio for example has over 100 errors and I'm finding it rather frustrating using any of

[android-developers] 2 Android GPS development issues

2010-01-10 Thread Gleeb
hey guys. my first problem i saw some others on the web that had the same problem i just cant find the related threds again for some reason. when i try to use Fake gps on my android application, the first set of coordinates work fine. and call the @Override public void

[android-developers] map overlays

2010-01-10 Thread pujitha
hello i have doubts regrading the draw method of overlay. what does shadow argument infer?how its value is set?in the below code mypositionoverlay is called in whereami1 class but how the draw method is called?? //mypositionoverlay which extends the overlay class public class mypositionoverlay

[android-developers] 120 dpi virtual device picks drawable from drawable-hdpi???

2010-01-10 Thread M.Overgaard
Hi sirs, I pulling my hair out about this. I have a made an app. which should run on small devices too. I made a new logo and put it in res/drawable-ldpi. The logo for high density devices are located in res/drawable. When running a virtual device - which is configured to run 120 dpi (I use a

[android-developers] WebView threads never stop (WebViewCoreThread, CookieSyncManager, http[0-3])

2010-01-10 Thread Amit Kotlovski
Hi All, I use a WebView to display some internet content on one of our app's Activities. The problem is that when the user switches out of this activity, WebView's threads keep running! The problematic threads are: Thread [17 WebViewCoreThread] (Running) Thread [25

[android-developers] Version Control

2010-01-10 Thread barry
When using Eclipse as an IDE, which files/folders can I safely ignore for version control purposes? 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@googlegroups.com To

Re: [android-developers] Fonts and Arabic support

2010-01-10 Thread Mark Murphy
Yousef Alhashemi wrote: 1. Obviously different builds of android (may) have different bundled packages/fonts/etc, but does the official android build include an Arabic font? What about the emulator? Android 2.0.1 does not have Arabic support:

[android-developers] Classloader for Activities

2010-01-10 Thread Eric Crump
I'm still in the concept stage so I don't need implementation details. My question is whether it is possible is transfer a JAR file over a socket and use a classloader to launch an activity. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Classloader for Activities

2010-01-10 Thread Mark Murphy
Eric Crump wrote: I'm still in the concept stage so I don't need implementation details. My question is whether it is possible is transfer a JAR file over a socket and use a classloader to launch an activity. All but the last part, I think so. Activities have to be registered in the manifest,

[android-developers] Re: Pass Array from Java to C (over JNI) work in an activity but fail in a thread?

2010-01-10 Thread nemo
hi! all: I found that I need to use dynamically allocate for array. Then the crash problem is solved. However, I still don't know why it works when the native function is called in the main activity... Thanks in advance. On 1月10日, 下午9時42分, nemo stone.c...@gmail.com wrote: Hi! All: I've

  1   2   >