[android-developers] Re: How to mount multi sdcard on vold?

2011-06-20 Thread Zsolt Vasvari
This is the Android SDK forum, not the porting forum. They got their own group. On Jun 21, 2:46 pm, "bord...@gmail.com" wrote: > Hi All: >          My device had two sdcard, default it's only one card mount on > android start. > >         My vold.fstab config like this: > > dev_mount sdcard /mnt

[android-developers] Re: Strange device?

2011-06-20 Thread Zsolt Vasvari
Ok, thanks. I am testing on the original 7" Galaxy Tab, which is a 600x1024 HDPI device, which gives 400dpx683dp, so unless I am misunderstanding you, it should be classificed as a Normal screen device, but it seems to be pulling resources from the Large folders. Is there special handling for jus

[android-developers] Re: Cross-phone Image Compatibility

2011-06-20 Thread JAlexoid (Aleksandr Panzin)
If your app is media heavy: - place the images into a nodpi directory at 600px width in portrait mode. - on first run a) identify the width of the display b) scale the images c) store the scaled versions in cache or on SD Why 600? 600px is the largest Android 2 series device an

[android-developers] How to mount multi sdcard on vold?

2011-06-20 Thread bord...@gmail.com
Hi All: My device had two sdcard, default it's only one card mount on android start. My vold.fstab config like this: dev_mount sdcard /mnt/sdcard auto > /devices/platform/s3c-sdhci.2/mmc_host/mmc2 dev_mount sdcard2 /mnt/sdcard2 auto > /devices/platform/s3c-sdhci.3/mmc_host/mmc3

Re: [android-developers] Re: Strange device?

2011-06-20 Thread Dianne Hackborn
Don't believe written documentation at this point, there has been some chaos in this. The current official numbers used by the platform implementation are: Normal -- 320dp x 480dp Large - 480dp x 640dp XLarge - 720dp x 960dp Technically in the impl Small is just smaller than normal, but as per t

[android-developers] Cross-phone Image Compatibility

2011-06-20 Thread Prem Nair
I'd like to have an image be the same percentage of the height of the display on every Android phone, without becoming blurry. I'll have ldpi, mdpi, and hdpi versions. If nothing is possible, then I could also replace them with android.graphics.drawable.shapes objects. How many of them can I draw

[android-developers] Re: Strange device?

2011-06-20 Thread Zsolt Vasvari
Dianne, I found the following table in attrs_manifest.xml Are those correct? I couldn't find the code where it would do the checking -- I guess it's in native code. On Jun 2

Re: [android-developers] Re: How to remove Top Activity from Display Stack

2011-06-20 Thread jeyaprakash chinaraj
No Luck still my second Activity comes Up On Mon, Jun 20, 2011 at 6:42 PM, Kostya Vasilyev wrote: > Try removing category.DEFAULT from the launcher activity - I think it's > getting in the way. > > -- Kostya > > 2011/6/20 jeyaprakash chinaraj > >> hi Kostya, >> >> i set everything pls have

Re: [android-developers] Minimum Age?

2011-06-20 Thread Kristopher Micinski
On Mon, Jun 20, 2011 at 11:45 PM, TreKing wrote: > On Mon, Jun 20, 2011 at 7:15 PM, Kristopher Micinski < > krismicin...@gmail.com> wrote: > >> You probably have to be old enough to have the credit card to register the >> developers account > > > Not even if you can get a parent or someone to do

Re: [android-developers] Re: Augmented reality: overlaying OpenGL on camera feed without GLSurfaceView

2011-06-20 Thread Romain Guy
BTW, with Android 3.0 you can stream the camera directly into an OpenGL texture by using the SurfaceTexture API. On Mon, Jun 20, 2011 at 8:57 PM, gjs wrote: > Hi, > > I have done this successfully previously using a FrameLayout - adding > GLSurfaceView, then (Camera Preview) SurfaceView and then

[android-developers] Re: Augmented reality: overlaying OpenGL on camera feed without GLSurfaceView

2011-06-20 Thread gjs
Hi, I have done this successfully previously using a FrameLayout - adding GLSurfaceView, then (Camera Preview) SurfaceView and then other 2d overlay views - in that order, sound like you are doing the same or similar. Mine worked ok on HTC Hero with 1.5 & and HTC G1 with 1.6 but I've not tried sin

Re: [android-developers] need help to create a simple function

2011-06-20 Thread TreKing
On Mon, Jun 20, 2011 at 1:11 PM, Lior Weitzhandler wrote: > i want to know > how do i create a function that returns a String. > i know that it is simple but i cant figure it out. > This group is for Android development. For help with basic Java, please get a good book or search online and do you

Re: [android-developers] switch statement syntax

2011-06-20 Thread TreKing
On Sun, Jun 19, 2011 at 7:44 PM, untriangulated wrote: > It runs fine, but I was wondering if there is a way to replace the else-if > statement with a switch statement. > Use http://developer.android.com/reference/android/widget/RadioGroup.html#getCheckedRadioButtonId() and switch on that.

Re: [android-developers] Minimum Age?

2011-06-20 Thread TreKing
On Mon, Jun 20, 2011 at 7:15 PM, Kristopher Micinski wrote: > You probably have to be old enough to have the credit card to register the > developers account Not even if you can get a parent or someone to do the publishing for you. --

Re: [android-developers] Orientation change action

2011-06-20 Thread TreKing
On Fri, Jun 17, 2011 at 10:54 PM, suresh achari wrote: > Hi any one please suggest me what will happen when i change > orientation and how to save data while data downloading from network > with out restarting again after change the orientation. > Please read the very though documentation on the

Re: [android-developers] Services Threads v/s Async Task

2011-06-20 Thread TreKing
On Sun, Jun 19, 2011 at 1:43 AM, ATul SIngh wrote: > Please tell which one will be best , runnables in service or the Async Task > classes for every messege. > http://developer.android.com/reference/android/app/IntentService.html -

Re: [android-developers] Re: Augmented reality: overlaying OpenGL on camera feed without GLSurfaceView

2011-06-20 Thread Romain Guy
You don't have to use a GLSurfaceView, you can use a SurfaceView instead. On Mon, Jun 20, 2011 at 8:26 PM, Adam Ratana wrote: > Hi Nick, I am in a similar situation, if you happen to get this > working please let me know if you don't mind.  I've done an app which > uses the canvas API on top of t

[android-developers] Re: How to interrupt restarting the current application after install an apk

2011-06-20 Thread Doug
On Jun 20, 4:01 am, June Hello wrote: > If I press the "Open" or "Done" button on the installation UI, my > application will restart. What do you mean by "restart"? It sounds like an activity from your app was revealed after the installer finished (popped off the activity stack). It probably ha

Re: [android-developers] Re: About Location Service

2011-06-20 Thread Baodong Chen
thanks for your reply. i used location service as follows: mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this); by setting minimum distance and minimum time to zero. normally my listener's onLocationChanged() was called about once one second. and this its what i wa

[android-developers] Re: Augmented reality: overlaying OpenGL on camera feed without GLSurfaceView

2011-06-20 Thread Adam Ratana
Hi Nick, I am in a similar situation, if you happen to get this working please let me know if you don't mind. I've done an app which uses the canvas API on top of the SurfaceView for this reason, but that probably woudln't work or just take way too much time to implement if you're dealing with ope

[android-developers] android-developers] Where does SetupWizard.apk come from ?

2011-06-20 Thread June Hello
Dear All I find an apk named SetupWizard.apk(it is used to setup the parameters when first start a android phone or after resetting it to the factory setting) after making the source code which is in the "out" folder, but I never ever find the corresponding source code. So, does anyone here kn

Re: [android-developers] Re: ANNOYING BUY

2011-06-20 Thread Greg Donald
On Mon, Jun 20, 2011 at 8:47 PM, TreKing wrote: > And then misspell the key word in their post. I was expecting a funny story > about a bad purchase. I'm disappointed. Same. -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Gro

[android-developers] Re: Setting Drawable Background Color

2011-06-20 Thread Zsolt Vasvari
You can get a drawable from the resources using: context().getResources().getDrawable() On Jun 21, 10:33 am, Jake Colman wrote: > Thanks for the help -- but now I realize that I don't know how to get > the drawable! > > How do create a Drawable object from the drawable resource associated > wi

[android-developers] Re: Setting Drawable Background Color

2011-06-20 Thread Jake Colman
Thanks for the help -- but now I realize that I don't know how to get the drawable! How do create a Drawable object from the drawable resource associated with my layout? I am doing this within the context of a service and using a RemoteView. If I had the modified Drawable, I believe I can use o

[android-developers] Re: Strange device?

2011-06-20 Thread Zsolt Vasvari
Thanks, Dianne. I am actually happy that OEMs are trying to "push the envelop" with these devices. Some of these strange form factors may stick. So the division point between normal and large is 480dp x 640dp. Can you please tell me (or point me to a source) what the division points between sma

[android-developers] Re: GridView with ToggleButton

2011-06-20 Thread Paul Turchenko
You will have to supply Adapter for GridView in order to work. Consider setting CHOICE_MODE_MULTIPLE as I assume you can have multiple items toggled. On Jun 19, 6:21 pm, Vault wrote: > Hello, > I'm trying to obtain something > like:http://s4.appbrain.com/screen?id=-1118678252346788544&i=2 > but

[android-developers] Re: SdCard removal issue

2011-06-20 Thread Shrinivas Sahukar
:P On Sat, Jun 18, 2011 at 5:38 AM, Shrinivas Sahukar < shrinivas.sahu...@gmail.com> wrote: > Hi all, > > while playing the music if sdcard is removed the file keeps on playing the > buffered data, what i think is sdcard bad removal intent listener is not > there in ginger bread.. > > while in

[android-developers] License response codes -- what does a policy actually see?

2011-06-20 Thread Ted Hopp
In the docs on server response extras, I find this: When network problems prevent or interrupt a license check, the Android Market client notifies the application by returning a "RETRY" response code to the Policy's processSe

Re: [android-developers] Re: Strange device?

2011-06-20 Thread Dianne Hackborn
Yeah, 240/160. hdpi == 240, mdpi == 160. This device should not normally run applications on both screens. Actually, this is what they did: https://market.android.com/details?id=com.kyocera.tabletmodeextension&feature=search_result So it is a compatible device for purposes of passing the CDD, b

Re: [android-developers] Re: ANNOYING BUY

2011-06-20 Thread TreKing
On Mon, Jun 20, 2011 at 7:31 PM, Zsolt Vasvari wrote: > You know what's ANNOYING -- people who type with all capitals. And then misspell the key word in their post. I was expecting a funny story about a bad purchase. I'm disappointed. ---

Re: [android-developers] skia / purging [x]k from font cache [y entries] - what does it mean? was Re: Custom Fonts

2011-06-20 Thread Dianne Hackborn
Yes, that will do it. Note that each angle you draw a glyph at needs a new entry in the cache for the bitmap of the glyph drawn at that angle. On Mon, Jun 20, 2011 at 6:42 PM, Adam Ratana wrote: > After seeing this response, I spent some time to figure out exactly what I > was doing now that wa

Re: [android-developers] skia / purging [x]k from font cache [y entries] - what does it mean? was Re: Custom Fonts

2011-06-20 Thread Adam Ratana
After seeing this response, I spent some time to figure out exactly what I was doing now that was causing this to appear in the logs so much. I was puzzled because I wasn't using many styles or colors, the same font, same color. I turned off alpha blending, and removed all the items I was drawing

[android-developers] Re: Strange device?

2011-06-20 Thread Zsolt Vasvari
Got it. It's the density float in DisplayMetrics. On Jun 21, 9:36 am, Zsolt Vasvari wrote: > I am sorry, how did you get > > 533dp x 640dp > > from > > 800x960 hdpi screen? > > Can you please provide this calculation?  Obviously, you divided by > 1.5, but where did the 1.5 magic constant come fr

Re: [android-developers] Join two images together based on the orientation

2011-06-20 Thread Francisco Dalla Rosa soares
this is not an android problem you have. if you can do that in any other language or platform, you can do it with android also. what you gotta do is study image processing algorithms. 2011/6/20 RFS > Hi, > > I am a newbie here! I having problem with my school project. My > problem is - I will

[android-developers] Re: Strange device?

2011-06-20 Thread Zsolt Vasvari
I am sorry, how did you get 533dp x 640dp from 800x960 hdpi screen? Can you please provide this calculation? Obviously, you divided by 1.5, but where did the 1.5 magic constant come from? I would like to use this info to determine in my app if I am running on a screen at least LARGE and do so

[android-developers] Re: Strange device?

2011-06-20 Thread Zsolt Vasvari
Ah sorry, I just re-read what you wrote (dp vs. px) Makse sense, now. On Jun 21, 9:27 am, Zsolt Vasvari wrote: > It may not be compatible, but it certainly can run apps on both > screens.  There is a screenshot of it running Angry Birds split > between the 2 screens. > > It reports back 800x960

Re: [android-developers] Re: Help Fixing a 9-patch

2011-06-20 Thread Nikolay Elenkov
On Tue, Jun 21, 2011 at 4:47 AM, Jake Colman wrote: >> "NE" == Nikolay Elenkov writes: > >   NE> On Mon, Jun 20, 2011 at 11:06 PM, Jake Colman wrote: >   >> >   >> I realize that this is not a programming question but I'm hoping >   >> someone here can help with a quick solution. >   >> >  

[android-developers] Re: Strange device?

2011-06-20 Thread Zsolt Vasvari
It may not be compatible, but it certainly can run apps on both screens. There is a screenshot of it running Angry Birds split between the 2 screens. It reports back 800x960 HDPI as its resolution. I guess most apps would just work. So Normal/Large depends on the pixel count? From this chart,

[android-developers] Re: GAE and Android

2011-06-20 Thread JP
If you see this constantly... you need to check GAE directly and analyze the logs there. Each call to the GAE web server has a trace. On Jun 20, 7:12 am, gaara wrote: > Thanks for replay, i wanna ask a question how can i check that i have > setup GAE correctly!!! > Peace, > Gaara > > On Jun 20,

Re: [android-developers] Re: Strange device?

2011-06-20 Thread Dianne Hackborn
To be compatible, a device like this would need to run apps in only one of the screens. What it means to run in two screens is not well defined. Fwiw, the division point between normal and large is 480dp x 640dp. So a 800x960 hdpi screen is 533dp x 640dp, just barely classifying as large. On th

[android-developers] Re: textview and unicode

2011-06-20 Thread Zsolt Vasvari
Actually, the glyph for code point 20b8 is missing also, which is a new currency symbol also, but I am not suppprting it: http://en.wikipedia.org/wiki/Kazakhstani_tenge On Jun 21, 8:28 am, Zsolt Vasvari wrote: > While we are on the topic of missing glyphs -- are there plans for > adding the ne

[android-developers] Re: Get Byte[] as a result of the preview with Android Camera

2011-06-20 Thread Emanuel Moecklin
Assumption: the camera preview is already running. camera.setOneShotPreviewCallback(previewCallback); private final Camera.PreviewCallback previewCallback = new Camera.PreviewCallback() { @Override public void onPreviewFrame(byte[] data, Camera camera) {

Re: [android-developers] Crash logs?

2011-06-20 Thread TreKing
On Mon, Jun 20, 2011 at 3:53 PM, Santiago Lema wrote: > Do you have a standard solution to get them uploaded to a server in case of > unhandled exception? > As you've seen, the Market crash reports are borderline useless. Check this out instead: http://code.google.com/p/acra/ ---

[android-developers] Re: How to use whole screen on 1024x480 Android device (Acer Iconia Smart)?

2011-06-20 Thread Zsolt Vasvari
Since 1024x480 is a very unusual size and probably not supported correctly by Android, they Acer was probably forced to report a "standard" Android resolution of 854x480 (are you really seeing 855, not 854?) My guess is there are some custom libraries from Acer out there for that device to access

Re: [android-developers] Bind_APPWIDGET permission

2011-06-20 Thread Dianne Hackborn
Sorry, third party applications can't get this permission. You need to launch the system's app widget picker for it to interact with the user to determine what widget your app can display. On Sun, Jun 19, 2011 at 1:27 AM, Bacon021 wrote: > I am developing an launcher, and want to use the bindAp

Re: [android-developers] How to use whole screen on 1024x480 Android device (Acer Iconia Smart)?

2011-06-20 Thread Dianne Hackborn
That screen is outside of the compatible range of aspect ratios defined by the CDD, so they presumably are limiting what an application sees to remain compatible. You will need to talk with the manufacturer about any APIs they provide for applications to turn off that compatibility support. On Su

[android-developers] Re: Crash logs?

2011-06-20 Thread Zsolt Vasvari
That's right -- only Google has the privvy to the device type and version. Of course, having that info would be super useful so we know on what version of the platform/device the app is crashing on, but, alas, the "PHD geniuses" at the Android Market team can't see further than their own noses.

Re: [android-developers] Set different extra values to an ACTION_SEND intent according to the application selected in the chooser

2011-06-20 Thread Mark Murphy
On Mon, Jun 20, 2011 at 1:30 PM, jul wrote: > I'd like to set specific extras (different text, image/no image...) to > an ACTION_SEND intent according to the app selected in the chooser. > Basically I'd like to have a long text and an image for an email, just > the long text for Facebook, and a sh

[android-developers] Re: Styling Preferences

2011-06-20 Thread Zsolt Vasvari
The color of the text is determined by the style of the text view. Setting the text color on a background won't change the text -- in fact, since the background is probably just a Layout of some sort, it probably doesn't even support the textColor property. In other words, you need to style the te

[android-developers] Re: ANNOYING BUY

2011-06-20 Thread Zsolt Vasvari
You know what's ANNOYING -- people who type with all capitals. On Jun 21, 5:45 am, Robert Taylor wrote: > Hello, > > I found an annoying bug when using the SWYPE keyboard. When SWYPING, I > double tap a word to select it and the new "Cut/Copy" menu pops up, > but when I want it to display other w

[android-developers] Re: textview and unicode

2011-06-20 Thread Zsolt Vasvari
While we are on the topic of missing glyphs -- are there plans for adding the new symbol for Indian Rupee, code point 20B9? http://en.wikipedia.org/wiki/Indian_rupee_sign It's probably the only currency glyph still missing from Android and since my app deals with currencies, it's now displaying a

[android-developers] Re: Strange device?

2011-06-20 Thread Zsolt Vasvari
The Flipout has a 320x240 screen. Ths is definetely the Kyocera Echo. My only question when supporting this device is if the screen consdered Medium or Large? 4.7" seems to be borderline on the screen size chart. On Jun 20, 11:40 pm, Dan wrote: > My bet is the Motoroal Ruth/Flipout > > http://

Re: [android-developers] ANNOYING BUY

2011-06-20 Thread Mark Murphy
This is not a Swype technical support board. On Mon, Jun 20, 2011 at 5:45 PM, Robert Taylor wrote: > Hello, > > I found an annoying bug when using the SWYPE keyboard. When SWYPING, I > double tap a word to select it and the new "Cut/Copy" menu pops up, > but when I want it to display other word c

Re: [android-developers] how can my gae app be accessed from china

2011-06-20 Thread Mark Murphy
This list has nothing to do with GAE. Please try another list. On Sun, Jun 19, 2011 at 2:31 AM, crazycoder8848 wrote: > With the great help from google,  I have developped an app on GAE. > But it can't be accessed from china. > > http://i-stat.appspot.com/ -- Mark Murphy (a Commons Guy) http://

[android-developers] taskAffinity problem with activity

2011-06-20 Thread li8...@hotmail.com
Please see: http://stackoverflow.com/questions/6416159/android-taskaffinity-problem-with-specifying-activity -- 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 unsubs

[android-developers] Set different extra values to an ACTION_SEND intent according to the application selected in the chooser

2011-06-20 Thread jul
Hi, I'd like to set specific extras (different text, image/no image...) to an ACTION_SEND intent according to the app selected in the chooser. Basically I'd like to have a long text and an image for an email, just the long text for Facebook, and a short text for Twitter... To do so I need to inter

[android-developers] need help to create a simple function

2011-06-20 Thread Lior Weitzhandler
Hi, i have just recently started learning development and i want to know how do i create a function that returns a String. i know that it is simple but i cant figure it out. example: public static String func() Text=textBox.getText().toString(); return String; Thank you! -- You received this

[android-developers] Problem streaming radio on Android 2.2 and up

2011-06-20 Thread Chandler Bennett
I am currently designing an android application that incorporates radio streaming. The app works as it should with devices below Android 2.2, but works slowly if the device is 2.2 or above. I am using the MediaPlayer object, and I am calling the 'setDataSource(mylink.com/ radio.mp3)' method as well

[android-developers] Styling Preferences

2011-06-20 Thread Lisa
I am trying to change the background of my Preferences in my android app. By default, I have a background for the app as a whole, but I would like to have my Preferences to have a white background with black text. Unfortunately, when I try to change it via style, @color/white @color/black

[android-developers] ANNOYING BUY

2011-06-20 Thread Robert Taylor
Hello, I found an annoying bug when using the SWYPE keyboard. When SWYPING, I double tap a word to select it and the new "Cut/Copy" menu pops up, but when I want it to display other word choices after hitting the bottom left swype key, the new menu overlaps onto the swype word choices. This is rea

[android-developers] Re: Xperia play Hard button

2011-06-20 Thread Danny.Zubiate
Hi Stephen, The article you linked is published along with other resources you may find helpful, such as tutorials and code samples, at: http://developer.sonyericsson.com/ You can also take advantage of the Device Loaner Program, linked there as well, to borrow a device to test your application.

[android-developers] integrate my android app with twitter.

2011-06-20 Thread Rasheed
i need to integrate my app with twitter, there is a lot of implementations, but i need simple and easy one. -- 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 unsubscr

[android-developers] Bluetooth simultaneous connections to multiple devices

2011-06-20 Thread Edwin Tsang
Does Gingerbread support simultaneous connection to multiple devices? It seem there might be topology issue e.g. scatternet, slave to two master.. The use case is e.g. play music to stereo headset and send file to PC. Anyone got this working on Gingerbread? -- You received this message because yo

[android-developers] NFC issue - phLibNfc_RemoteDev_CheckPresence() returned 0x00ff[NFCSTATUS_FAILED]

2011-06-20 Thread Edwin Evans
I sometimes get the following error: 06-17 13:21:01.449: ERROR/NFC JNI(213): phLibNfc_RemoteDev_CheckPresence() returned 0x00ff[NFCSTATUS_FAILED] I'm trying to scan an emulated card. After this happens Android will bring up my app registered for my intent but not go to the correct Activity. This

[android-developers] Crash logs?

2011-06-20 Thread Santiago Lema
Hello, I just published my first android application and I was puzzled to see that I receive a stacktrace of the crash but zero information about the device. Did I miss something or is the OS version and device model absent from the crashlogs? Do you have a standard solution to get them uploaded

[android-developers] problem with progress bar AsyncTask

2011-06-20 Thread Josue Fuentes Gutierrez
I have a AsyncTask that downloads files from web. The problem is that when I press home and back to the application, charging again. Why not? I return to the activity where it left off apologize for my English .. this is the video: http://www.youtube.com/watch?v=mGlr1Uo89Nw -- You received t

[android-developers] taskAffinity problem with activity

2011-06-20 Thread li8...@hotmail.com
I am dealing with a strange issue here. Basically, I have one application (made by another developer) that has an activity that specifies its taskAffinity to "" and its launchMode to "singleTask". When the phone receives a notification, I launch an activity in my application with FLAG_ACTIVITY_NE

[android-developers] Augmented reality: overlaying OpenGL on camera feed without GLSurfaceView

2011-06-20 Thread Nickw
Hi, I'm developing an augmented-reality app in which I wish to overlay real-world data, specifically hiking trails from the OpenStreetMap project, on the phone's camera feed. I'm getting this kind-of working, using the camera's SurfaceView stacked on the GLSurfaceView (yes, that way round, as doc

Re: [android-developers] Having trouble with an integer variable

2011-06-20 Thread Mark Murphy
On Mon, Jun 20, 2011 at 4:01 AM, Faraz Azhar wrote: > I've created a simple home screen widget for the Android 2.2. It > comprises of a button and a background image only. What im trying to > do is that when user clicks on the button, i show a Toast msg with a > number. This number is to be increa

[android-developers] How to use whole screen on 1024x480 Android device (Acer Iconia Smart)?

2011-06-20 Thread Oliver
When running manually compiled Android apps on the Acer Iconia Smart, there always remains a black bar at the bottom of the screen that is not usable by the apps. This happens for my own as well as other apps compiled from source. Pre-installed apps do not show this behavior and make use of the who

[android-developers] XML Layout issue with multiple screens

2011-06-20 Thread Torok Alpar
I am having a problem defining a layout for my project. I want to do the following: http://dl.dropbox.com/u/16826969/layout.png[^] The image "remote" doesn't want to align to bottom of the screen and on different screen resolutions the buttons don't stay in their places. How do I place the buttons

Re: [android-developers] How to configure Bluetooth in android emulator

2011-06-20 Thread Mark Murphy
The emulator does not emulate Bluetooth. You will need to purchase Bluetooth-capable Android hardware to write Bluetooth apps. On Mon, Jun 20, 2011 at 3:54 AM, RAMESH wrote: > Hi, > > I am using android 2.2 sdk version... I don't have real android > device.. >  I want to configure the blue tooth

Re: [android-developers] Re: registerListener

2011-06-20 Thread Mark Murphy
On Sun, Jun 19, 2011 at 1:25 AM, Jóni wrote: > In my application I really need to set the rate of events of the > accelerometer... > I went to check in the source code and there no place for custom > values, despite the existence of the information in documentation... > > There is a way to set a c

Re: [android-developers] Minimum Age?

2011-06-20 Thread Kristopher Micinski
In what sense? You probably have to be old enough to have the credit card to register the developers account, but beyond that... Nobody's checking, you can publish apk's free and clear :-) But, in general, no, there is no minimum age (and there shouldn't be!) Kris On Sun, Jun 19, 2011 at 3:07

[android-developers] Join two images together based on the orientation

2011-06-20 Thread RFS
Hi, I am a newbie here! I having problem with my school project. My problem is - I will use the camera to snapshot pictures (i.e from point A to point B - can be more than two pictures) I will like to join them together. However, i do not know how to join the two or more pictures together as ther

[android-developers] Having trouble with an integer variable

2011-06-20 Thread Faraz Azhar
Hello I've created a simple home screen widget for the Android 2.2. It comprises of a button and a background image only. What im trying to do is that when user clicks on the button, i show a Toast msg with a number. This number is to be increased every time button is clicked, starting from zero.

[android-developers] How to configure Bluetooth in android emulator

2011-06-20 Thread RAMESH
Hi, I am using android 2.2 sdk version... I don't have real android device.. I want to configure the blue tooth connection in android emulator using the USB bluetooth device. Pls help me... thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Android form data save to mysql database

2011-06-20 Thread Piraba
Hi All; I am new to Android. I have android form, when I click the submit button it need to save the form details to mysql. I have Java appication(ORM - hibernate orm).How to communicate this java and android? can u show me any sample ? please help me for this? -- You received this message becau

[android-developers] Launching apps on device remotely from wap/webpages

2011-06-20 Thread Raghavendra K Naik
Hi All, I just wanted to know whether it is really possible to launch the app on android phone remotely from wap/web pages ? Your help is greatly appreciated. Thanks in advance Regards, Raghu -- You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] about adding hindi fonts on android2.1

2011-06-20 Thread drkasharma
r.sir, pls add hindi fonts to android so cann read hindi material on websites.now it is shown as boxes. iin iindia it is very important. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] capturing PCM data of the mp3 file being played on Android SDK

2011-06-20 Thread Asmishra
I am trying to get the PCM data of the mp3 files being played by Android system. In the SDK I do not find any API of the Mediaplayer which lets me set the data target (complement API of SetDataSource()) so that I can give the path of a simple file in which I want to write the PCM data before it is

[android-developers] UDP over cellular data network

2011-06-20 Thread chrischristian
Hi Guys, I have developed a simple UDP app, which is actually a very first step towards a complicated app I am developing for a company, and as it is company's property I can't post the codes here, but let me try to explain what my problem is and why I am posting while the issue is already addresse

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Tor Norbye
On Sun, Jun 19, 2011 at 2:55 PM, Gabe S wrote: > The easiest way I found is to set your target build API to 11 (Android 3.0) > and change your graphical layout view to Android 3.0 while you are working > with the tab xml file.  It's a bug that is supposed to be fixed for the > older versions but t

[android-developers] Re: registerListener

2011-06-20 Thread Jóni
In my application I really need to set the rate of events of the accelerometer... I went to check in the source code and there no place for custom values, despite the existence of the information in documentation... There is a way to set a custom rate in sensor events? Thanks in advance Joni On

[android-developers] Retrieving an image...

2011-06-20 Thread EmbSysPro
Sorry for posting this as I'm sure an answer is staring me in the face but I can't seem to filter the information to find the correct answer. I'm trying to allow the user of my app to retrieve an image for me to manipulate. It seems that one of the correct methods is to launch an activity to allo

[android-developers] switch statement syntax

2011-06-20 Thread untriangulated
Hello there, I am just starting out with android, and I have completed a simple tip calculator tutorial. It runs fine, but I was wondering if there is a way to replace the else-if statement with a switch statement. Not that it's particularly important for the purposes of this program, but it seems

[android-developers] traceview thread call time error

2011-06-20 Thread rhr2
When I run traceview on my trace files (generated with the Debug class), I get the following error: ThreadData: '(context switch)' call time (10459035) is less than previous time ( 14752465) for thread '[7] Player' -- You received this message because you are subscribed to the Google Groups "And

[android-developers] Services Threads v/s Async Task

2011-06-20 Thread ATul SIngh
Hi all, I was upto a network related operation of uploading and downloading data. I am using REST service architecture and Bound Services and Messeges for Interaction with Actives and Service. As to do a network related task , i have to create new thread for every request form service , doing thi

[android-developers] Update activity UI from service using observer pattern

2011-06-20 Thread Vadim S. Khondar
Hello to everyone. I have an application with service doing background work by instantiating AsyncTasks and activity displaying progress of that work. As soon as updates are expected to be quite often I preferred to make connection between service and activity through listener rather than via bro

[android-developers] sdcard MEDIA_MOUNTED_SHARED

2011-06-20 Thread Joel Gwynn
This is driving me nuts. I'm trying to write data to the sdcard, but the state returned from Environment.getExternalStorageState() is "shared". I've tried unmounting the drive from windows, disabling the driver, mounting it with sdutil. Nothing works. The android device won't mount the sdcard.

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Gabe S
The easiest way I found is to set your target build API to 11 (Android 3.0) and change your graphical layout view to Android 3.0 while you are working with the tab xml file. It's a bug that is supposed to be fixed for the older versions but they haven't had to time yet. On Sun, Jun 19, 2011 at 12

[android-developers] GridView with ToggleButton

2011-06-20 Thread Vault
Hello, I'm trying to obtain something like: http://s4.appbrain.com/screen?id=-1118678252346788544&i=2 but only with ToggleButtons in a Grid. I've googled around but found nothing, so here I am kindly asking for help. I thought something like: could work, but it's not. What's the right

[android-developers] java

2011-06-20 Thread Richard Davis
I was wondering if anybody knew of a book or anything of the sort that could teach sombody to write in java without going to collage i have alot of time for reading. The reason I am asking is I got a app idea for a local area and I dont know how to make apps. I have eclipse and sdk. -- You receiv

[android-developers] how can my gae app be accessed from china

2011-06-20 Thread crazycoder8848
With the great help from google, I have developped an app on GAE. But it can't be accessed from china. http://i-stat.appspot.com/ -- 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@goog

[android-developers] Bind_APPWIDGET permission

2011-06-20 Thread Bacon021
I am developing an launcher, and want to use the bindAppWidgetId method in my desktop edit mode, but the system notify me that the uid don't have the permission. I checked the permission definition, it's protect level is indeed system /signature, is there any method to realize the binding function

[android-developers] Custom control with default parameters and adding textview

2011-06-20 Thread onur
Hi everyone, I am trying to develop a simple board game for android and a custom control for that. I extend my control from android.widget.Button and set a default parameter in onDraw method but this parameter take effect after displaying the button normally. @Override protected v

[android-developers] Minimum Age?

2011-06-20 Thread Mehwar Raza
Is there a minimum age requirement to become an android developer? I have been trying to hunt down the answer to no avail. -- 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.

[android-developers] Re: gaming

2011-06-20 Thread Francisco Mariño
Hi, The most recommended is libgdx, the second recommended is the android version of cocos2d and finally we have AndEngine. All these you can get in the http://code.google.com/ Francisco Mariño On Jun 18, 3:11 am, kaushik p wrote: > Hi all, > > Can anyone suggest the best gaming  engines for a

Re: [android-developers] Too large bitmap to be uploaded into a texture

2011-06-20 Thread Romain Guy
When using hardware acceleration, there is a limit to the size of a texture. When you render a bitmap, it has to be uploaded to an OpenGL texture first. Your bitmap happens to be bigger than the maximum texture size on Xoom (2048x2048.) You need to use a smaller bitmap or split it into several bitm

Re: [android-developers] How android get MSISDN

2011-06-20 Thread Victorien Villard
2011/6/17 Sherif Shehab Aldin > Hi all, > > I am doing a project of mine, and I wanted to get the MSISDN of the SIM > cards, and I thought I would follow the Android code to see how It handles > It. I been following the code for hours till I reached this > point: com.android.internal.telephony.gs

  1   2   3   >