[android-developers] Camera Orientation Issue

2011-10-03 Thread Chenna
Hi I want to keep my camera in middle and place a top button bar and bottom button bar in my activity. I want to fix the activity in portrait mode. I need a support from 2.1 onwards. But each version is behaving differently. The method setDisplayOrientation() helps to display camera view normally i

[android-developers] Re: Simple database form example

2011-10-03 Thread Zsolt Vasvari
I don't think too many users would be happy with a machine generated edit dialog. On Oct 3, 2:27 pm, Jean-Michel wrote: > I was afraid it would end up like that... > > Gone the Delphi days, gone... > Gone the Objective-C days, gone... > > Thanks Steven -- You received this message because you a

Re: [android-developers] Re: EditText with tiled background

2011-10-03 Thread bhaskar bommala
Hi , Can anyone share working customseekbar example please Thanks in Advance.. On Thu, Sep 8, 2011 at 7:48 PM, Richard Lalancette < richard.lalance...@gmail.com> wrote: > You can create an xml file for your background. > In that XML file, you add an item called bitmap. > On the bitmap item,

Re: [android-developers] Debug.InstructionCount

2011-10-03 Thread ehsan azimzadeh
Thanks for your help :) Ehsan On 29 September 2011 00:38, Kristopher Micinski wrote: > This isn't something you can (or should) be doing from the SDK alone. > You'll want to look at another list, however I'd like to first just > note that Dalvik already has support for this. (You can google > "

[android-developers] binary not executing ?

2011-10-03 Thread shubh
I compile an normal C "hello world" program using arm-none-linux- gnueabi-gcc comiler. but i am executing generated binary file it prompt me " bash: ./ Sample: cannot execute binary file " error . When I compile using gcc compiler it generate a.out (default name), it executing properly. any body

[android-developers] Re: java.lang.exceptionInInitializerError

2011-10-03 Thread onionbread
Hi, Thank you for the reply. I've solved the error by rebuilding everything (included my data), and it works. On Sep 23, 7:26 pm, RichardC wrote: > What is the source code around TestGame01.java:369 ? > > On Sep 23, 4:55 am, onionbread wrote: > > > > > > > > > 09-22 22:47:08.036: ERROR/Androi

[android-developers] Re: Simple database form example

2011-10-03 Thread Jean-Michel
Just for the record, Delphi or the Apple dev framewiork do not generate edit dialog, they rather do the opposite. You "draw" your dialog, "bind" widgets to your data(source) and the rest of it is automated. You have actually 0 line of code to write to do a simple DB edit form, even a master-detai

[android-developers] Re: GOOGLE PLUS-ANDROID INTEGRATION

2011-10-03 Thread Android2ee
Hey, The way to interact with g+, and specially with OAuth is the same one than for FaceBook. So you can have a look within their Api and do the same (or the FB's Android API sucks). As i know there is no special API for Android, but i think it should come soon (from open world or Google, who knows

[android-developers] Re: Select Tag - Item text not displayed in android tablet same as in Desktop browser

2011-10-03 Thread Leo
Hi, Did you solve the problem? I have the same problem as you described. On Aug 18, 12:38 pm, Arun David Shelly wrote: > Hi, > > My question is > > HTMLSelecttagwith Multiple selection same as in web applications is > supported in android or not? > > On Aug 17, 8:22 pm, rich friedel wrote: > >

[android-developers] Select Tag - Item text not displayed in android browser

2011-10-03 Thread Leo
why HTML Tag is not showing the text of the items when it viewed using android browser. Desktop browser showing the items with text visible but browser in android 2.3 mobile is not showing the text of the items. Option 1 Option 2 Option 3 Option 4 Option 5 Option 6 -- You received

[android-developers] Re: HTTP response Problem

2011-10-03 Thread Leo
Google recommends to use ResponseHandler for parsing contents of the entity, so I use the following code. Also there you can easily handle compressed (gziped) contents. As for encoding, first you should try to extract encoding information from the header. private ResponseHandler responseHa

[android-developers] Android and QT

2011-10-03 Thread Dmitriy Nikolaev
Hello! I have only question. Is any official support for qt in Android-based devices? If so, where can be find emulator for the Android device and other helpful information for getting started? Thank you beforehand for answers. -- You received this message because you are subscribed to the Goog

[android-developers] Text Animation

2011-10-03 Thread emran hamza
hi, i want to use marquee text move text bottom to top in android. any one help me out to solve my problem plz -- 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

[android-developers] android upgrading to 3.0?

2011-10-03 Thread Thiago Balancin
Hello I am new to the group and would like to know how do I update my android, because my wireless carrier has not released the new versions... thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

[android-developers] how can I start working on mind map

2011-10-03 Thread bhumi kania
Hello All, I am totally new to the graphics world of android. Currently I am working on a project that will have the notes and I have to draw mind map according to that note. Currently I don't have any idea how can I opt the graphics for this kind of map? should I use open gl or it can be done wi

[android-developers] Re: Android and QT

2011-10-03 Thread Alessandro Pellizzari
Il Mon, 03 Oct 2011 01:33:16 -0700, Dmitriy Nikolaev ha scritto: > I have only question. Is any official support for qt in Android-based > devices? No. You must use the Android framework for GUIs. Bye. -- You received this message because you are subscribed to the Google Groups "Android Devel

Re: [android-developers] Re: App crash report - InputChannel - could not read input channel file descriptors from parcel.

2011-10-03 Thread Kostya Vasilyev
I just discovered today that the Samsung Galaxy S and/or the Nexus S are among those devices listed as "OTHER", while tracking a NullPointerException in RingtonePickerActivity: http://stackoverflow.com/questions/5874372/nullpointerexception-when-calling-ringtonepreference-on-samsung-galaxy-s S

Re: [android-developers] Re: how to check if device has hardware search key

2011-10-03 Thread Latimerius
On Sat, Oct 1, 2011 at 8:12 AM, Zsolt Vasvari wrote: > > Having said that however, it will also say that using hardware buttons is > > likely to give a more pleasant user experience so it would be worth > > considering even for the end user interface. > > What's your definition of "hardware" butt

Re: [android-developers] Re: ListView and MotionEvent

2011-10-03 Thread John Goche
On Mon, Oct 3, 2011 at 3:57 AM, Studio LFP wrote: > The HTC Hero is fairly old. I keep one around because it's quite slow and > if I can make something function fast on it, it will run exceptionally well > on new hardware. > As a curiosity does it have two way na vigation (just a scrollwheel and

Re: [android-developers] Re: how to check if device has hardware search key

2011-10-03 Thread Latimerius
On Sat, Oct 1, 2011 at 8:42 AM, Dianne Hackborn wrote: > What do you mean by go to settings and map their buttons? There is a > well-defined keycode for search; you shouldn't need to ask the user to map > that to anything. Sure, but as I mentioned in a previous message I'm explicitly and inten

Re: [android-developers] Re: ListView and MotionEvent

2011-10-03 Thread John Goche
I also noticed that a disabled button can be focused, which could require having to design a separate icon. I don't understand the point of this combination: if a button is disabled why does android make it possible for it to receive the focus? Regards, John Goche On Mon, Oct 3, 2011 at 12:00 PM

[android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-03 Thread mac-systems
Thanks, i will have a look. Sounds like i may completely have a wrong impression how the cipherstream have to be used. I was curious about how this can work: /* * Read a predefined data block. If the password is incorrect, we'll get a security * exception here. Without this, we will only get

[android-developers] C2DM any example and some documents to read for

2011-10-03 Thread ANKUR GOEL
Thanks and Regards:- Ankur Goel 09019040351 S/W Engg. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

Re: [android-developers] binary not executing ?

2011-10-03 Thread Mark Murphy
If you are trying to modify firmware, head over to http://source.android.com and find a group there on the Community tab. If you are trying to use the NDK, use the [android-ndk] Google Group. On Mon, Oct 3, 2011 at 4:06 AM, shubh wrote: > I compile an normal C "hello world" program using arm-non

[android-developers] how to change color of fonts in a listView?

2011-10-03 Thread Isaac Ng
I using a listView, but I set its background color to white, due to application requirements. when I run application, it showed a blank white screen when it went into the 'chapters-menu' activity. It only show when I 'highlight' the entire listView while application is running. I've a xml file th

Re: [android-developers] how to change color of fonts in a listView?

2011-10-03 Thread Mark Murphy
On Mon, Oct 3, 2011 at 5:38 AM, Isaac Ng wrote: > I using a listView, but I set its background color to white, due to > application requirements. You should probably do this by setting Theme.Light for the activity in the manifest, so everything adjusts in tandem, including your text color: http:

[android-developers] Re: Android USB reverse tethering: How to fool the apps

2011-10-03 Thread Cyker Way
Oh that's fine. But is there a run-time solution? I mean maybe we can just modify something at /sys or /dev at run-time? I don't quite understand how ConnectivityManager determines whether there is a Wi-Fi or GPRS/3G connection. On Oct 3, 9:59 am, Nikolay Elenkov wrote: > On Sun, Oct 2, 2011 at 1

[android-developers] Augmented Reality - Tutorial

2011-10-03 Thread EdwardComb
Hey Folks, I am currently interested to create an Augmented Reality application for Android. I have no problem to create normal Android application and I am familiar with IDE, SDK and etc. But I just have no idea where to start for this Augmented Reality (AR) stuff. My intention is actually to ma

Re: [android-developers] Augmented Reality - Tutorial

2011-10-03 Thread Robin Talwar
use qualcomm sdk On Mon, Oct 3, 2011 at 4:46 PM, EdwardComb wrote: > Hey Folks, > > I am currently interested to create an Augmented Reality application > for Android. > I have no problem to create normal Android application and I am > familiar with IDE, SDK and etc. > But I just have no idea wh

[android-developers] Re: 3d models in Android

2011-10-03 Thread Oli
For some guidance, take a look at this: http://libgdx.l33tlabs.org/docs/api/com/badlogic/gdx/graphics/g3d/loaders/obj/ObjLoader.html I've used that with obj files exported from Blender before. It's a fairly simple file format for representing the geometry of an object so you could easily write yo

[android-developers] big arrays don't cry - just an alibi

2011-10-03 Thread bob
So, I had a great idea. Why don't I stick my 3d model in as an array? Here's the result: https://sites.google.com/site/coolfonne/Spaceship.java Now, I get this error: The code of constructor Spaceship() is exceeding the 65535 bytes limit Is there any easy way around this? -- You received th

[android-developers] Getting ActivityResult on click of a Button

2011-10-03 Thread Chenna
Hi I have started a activity B from a Activity A by calling startActivityForResult(A,B) The activity B is collecting objects in every 1 min and adding into a List. I have a DONE button on my activity A. I want to get result whenever DONE button clicked. Please let me know the best way. thanks C

[android-developers] Re : SDcard permission

2011-10-03 Thread vivek elangovan
Hi members, I having problem in setting read-write permission for my SDcard in android emulator.If i set read-write persmission and restart my emulator it reset to default read-only permission.Similarly i m not able to install market in my emulator.can anyone help me out of this?

[android-developers] InflateException: Error inflating class issue

2011-10-03 Thread Tonez
Hi Everyone, I have an app which I'm testing out on Android 2.0 (emulator) that's currently throwing me an error - of which I've found the cause. The error is: android.view.InflateException: Binary XML file line #7: Error inflating class This error is being thrown when my activity tries to inf

Re: [android-developers] Re : SDcard permission

2011-10-03 Thread Mark Murphy
On Mon, Oct 3, 2011 at 7:42 AM, vivek elangovan wrote: >                   I having problem in setting read-write permission > for my SDcard in android emulator.If i set read-write persmission and > restart my emulator it reset to default read-only permission. You don't set the read-write permiss

Re: [android-developers] Getting ActivityResult on click of a Button

2011-10-03 Thread Mark Murphy
On Mon, Oct 3, 2011 at 7:41 AM, Chenna wrote: > I have started a activity B from a Activity A by calling > startActivityForResult(A,B) > > The activity B is collecting objects in every 1 min and adding into a > List. I have a DONE button on my activity A. I want to get result > whenever DONE butto

Re: [android-developers] Re : SDcard permission

2011-10-03 Thread akhil raval
Use appmanager or astor file manager u will find it from market Thanx On 3 Oct 2011 17:13, "vivek elangovan" wrote: > Hi members, > I having problem in setting read-write permission > for my SDcard in android emulator.If i set read-write persmission and > restart my emulator it reset to default re

Re: [android-developers] android upgrading to 3.0?

2011-10-03 Thread Marcin Orlowski
Then you can't now unless other carriers did that and someone ripped what's needed for your device. Search xda-developers forum Regards, Marcin Orlowski *Tray Agenda * - keep you daily schedule handy... *Date In Tray* - current date at glanc

[android-developers] Default ringtone in preferences

2011-10-03 Thread Petko Petkov
I have this in my preferences.xml And every time when I first start fresh install of an app, the default value in silent :(, When I tap on the ringtone preference the dialog is opened with silent selected as default. I want by default "Default ringtone" to be selected. How can I do this

Re: [android-developers] big arrays don't cry - just an alibi

2011-10-03 Thread Kristopher Micinski
Keep this as a large static array? Kris On Mon, Oct 3, 2011 at 7:37 AM, bob wrote: > So, I had a great idea.  Why don't I stick my 3d model in as an array? > > Here's the result: > > https://sites.google.com/site/coolfonne/Spaceship.java > > Now, I get this error: > > The code of constructor Spa

[android-developers] Sometimes Receiver Not Receiving Any Broadcast Message

2011-10-03 Thread crajesh
Hi, I have create a receiver which receive on mount/unmount state change I have register it in XML by "android.intent.action.MEDIA_MOUNTED" and "android.intent.action.MEDIA_EJECT" But sometime it don't receive any broadcast message How to fix this issue?? Thanks Rajesh -- You received this me

Re: [android-developers] Getting ActivityResult on click of a Button

2011-10-03 Thread Chenna Venkatasubbaiah
Thanks for your clarification. I will explain you little more details. I have started a launched MainActivity and started a SubActivity for Result. In subactivity i am scanning barcode of items from barcode app and adding items in collection. I have to return the scanned items after clicking done

[android-developers] Re: GLSurfaceView's onPause and onResume called in Activity's onStop and onStart to handle partially transparent child-activities. Is this OK?

2011-10-03 Thread Streets Of Boston
Buehler, anyone, Buehler..? -- 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.c

[android-developers] Re: Layout

2011-10-03 Thread Chrystian Vieyra
Why do you need a back button on your layout? The current CCC states that "device implementations MUST make these functions available to the user at all times, regardless of application state. These functions SHOULD be implemented via dedicated buttons." A physical back button is standard, havin

[android-developers] Re: big arrays don't cry - just an alibi

2011-10-03 Thread Oli
OK, I don't know the source of that error off the top of my head, but a hunch would suggest you should consider whether you need that level of precision in your co-ordinates! On Oct 3, 12:37 pm, bob wrote: > So, I had a great idea.  Why don't I stick my 3d model in as an array? > > Here's the res

Re: [android-developers] Getting ActivityResult on click of a Button

2011-10-03 Thread Mark Murphy
On Mon, Oct 3, 2011 at 9:27 AM, Chenna Venkatasubbaiah wrote: > I have started a launched MainActivity and started a SubActivity for Result. > In subactivity i am scanning barcode of items from barcode app and adding > items in collection. I have to return the scanned items after clicking done > b

Re: [android-developers] Re: big arrays don't cry - just an alibi

2011-10-03 Thread Kristopher Micinski
If you go down to float you get half the size, ~16kb vs ~8kb? Kris On Mon, Oct 3, 2011 at 9:44 AM, Oli wrote: > OK, I don't know the source of that error off the top of my head, but > a hunch would suggest you should consider whether you need that level > of precision in your co-ordinates! > > O

[android-developers] how to implement sync mobile data base and online mysql server

2011-10-03 Thread aparna rani
hi I am developing android app. How to implement sync between mobile database and online mysql server. please give me some example code for sync. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

Re: [android-developers] Re: Layout

2011-10-03 Thread John Goche
I hope nobody minds if I jump in on this topic. I wanted to ask whether implementations should interpret the back button as an OK or as a Cancel when a form has data. Regards, John Goche On Mon, Oct 3, 2011 at 3:39 PM, Chrystian Vieyra wrote: > Why do you need a back button on your layout? The

Re: [android-developers] Re: Layout

2011-10-03 Thread Kostya Vasilyev
It depends on the actual use case. For example: preference activities typically don't use a dedicated "Ok" or "Save" button, to pressing Back applies the changes. "Edit a data item" type activities typically have an "Ok" or "Save" (but not "Back") button that saves the data and closes the act

[android-developers] Re: Inapp billing question

2011-10-03 Thread Emanuel Moecklin
You don't need to press that save button, uploading the new apk is sufficient. Even if you press the save button, nothing changes because the old version is already live on the market (the message in the developer's console is a bit irritating because it reads "these APKs will be live", but of cour

[android-developers] Re: LVL and InApp Billing

2011-10-03 Thread androidmediadeveloper
Sorry, yea, ours will be a managed item available via inapp billing. Interesting, so without LVL, its not possible to get data points on how many devices have the app installed ? I'm assuming the android market automatically allows for apps (paid or not) to be installed on all the user's devices, c

[android-developers] Re: Inapp billing question

2011-10-03 Thread John Coryat
>> but of course only one apk can be live at a time Actually, you can have multiple "live" apk's for a single package name if the target OS versions are different. For example, you can have one apk with a target of 3-7 and another with 8-12+. -John Coryat -- You received this message because

Re: [android-developers] how can I start working on mind map

2011-10-03 Thread TreKing
On Mon, Oct 3, 2011 at 1:21 AM, bhumi kania wrote: > Currently I don't have any idea how can I opt the graphics for this kind of > map? > Start here: http://developer.android.com/guide/topics/ui/custom-components.html > should I use open gl or it can be done with simple graphics class also? >

Re: [android-developers] Re: Inapp billing question

2011-10-03 Thread Kostya Vasilyev
And actually, to test in-app Billing, you don't need to Activate a package, just upload. Recent changes to Market require that during testing, there is an uploaded (but not activated) .apk with the same version code as you're testing with, or else the server doesn't respond. The in-app products n

[android-developers] changing image on rotation in tablet

2011-10-03 Thread Amit Mangal
Hi Everyone, I am having 2 images i want to use that images in my layout background but one image in portrait mode and one in landscape mode. please tell me how to change image from moving landscape to portrait mode. like 1.png in portraut mode and 2.png in landscape mode. thanks -- You receiv

[android-developers] 9Slice and repeating image

2011-10-03 Thread John Goche
Hello, I would like to have the top middle part of a nine-Slice image repeat and the rest to remain fixed. Is this possible? Thanks, John Goche -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

Re: [android-developers] changing image on rotation in tablet

2011-10-03 Thread John Goche
Hi, I think you will need to create two XML files for your layout, each one containing different references to your image. See the following page:http://developer.android.com/guide/practices/screens_support.html Name one myPage-port.xml and the other myPage-land.xml. Regards, John Goche On Mon,

Re: [android-developers] Re: App crash report - InputChannel - could not read input channel file descriptors from parcel.

2011-10-03 Thread TreKing
On Mon, Oct 3, 2011 at 4:38 AM, Kostya Vasilyev wrote: > It seems very unusual and wrong to list a device from a major manufacturer > that sold over 10 million units as, effectively, unknown, and doesn't help > at all with analyzing the crash reports. > The Market's bug reporting is a nice idea

Re: [android-developers] GLSurfaceView's onPause and onResume called in Activity's onStop and onStart to handle partially transparent child-activities. Is this OK?

2011-10-03 Thread Christopher Van Kirk
I'm not sure why you're asking this question. It seems like a fairly simple thing to set up. Why not just try it and see? My guess is that it won't work because your activity hasn't been given a Surface yet, and GLSurfaceView depends on having a surface to draw on, obviously. But again, I thin

[android-developers] Camera Orientation Issue

2011-10-03 Thread Chenna
Hi I want to keep my camera in middle and place a top button bar and bottom button bar in my activity. I want to fix the activity in portrait mode. I need a support from 2.1 onwards. But each version is behaving differently. The method setDisplayOrientation() helps to display camera view normally i

[android-developers] Re: InflateException: Error inflating class issue

2011-10-03 Thread Tonez
I believe I've found what the issue is. After taking a closer look at LogCat I noticed there was a FileNotFound exception further down the stack, which makes no sense because the files are there - so I decided to move all my mdpi files into a folder named simply 'drawable' - and that sorted out th

[android-developers] White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ¿why?

2011-10-03 Thread saex
i have an app that draws a square on the screen with a texture, and the user can rotate the square touching the screen. It works fine with android 1.5 to 2.1. But when i test the App on a Motorola Droid with android 2.2.2 something is failing because the square is loaded with a white texture. What

Re: [android-developers] White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ¿why?

2011-10-03 Thread Latimerius
In my experience, the classic cause of "white" textures on some hardware but not other is a non-power-of-two texture. Your code doesn't seem to enforce POT texture dimensions, are your assets POT? On Mon, Oct 3, 2011 at 5:43 PM, saex wrote: > i have an app that draws a square on the screen with

Re: [android-developers] Re: SQLite Open failed

2011-10-03 Thread lbendlin
That is interesting, but why does it only happen in a seemingly random fashion? Say, one out of every 1 app launches ? -- 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@googlegroup

[android-developers] Re: White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ¿why?

2011-10-03 Thread saex
please can you explain it a little more? i'm new in open GL. What you mean with non power of two? what is POT? On 3 oct, 17:56, Latimerius wrote: > In my experience, the classic cause of "white" textures on some hardware but > not other is a non-power-of-two texture.  Your code doesn't seem to

[android-developers] Re: Android 2.2: WebView shouldOverrideUrlLoading() and custom file download from a phpBB forum

2011-10-03 Thread bdk
Hi So, the solution was to extract the filename from setDownloadListener() and to manage the download with an AsyncTask using an HttpUrlConnection. 8< - - - - - - - [from the AsyncTask doInBackground() method] ... // Store call parameters URL url = new URL(params.source_url); String target_file

[android-developers] Re: Android and QT

2011-10-03 Thread JP
Check out android-lighthouse http://code.google.com/p/android-lighthouse/ On Oct 3, 1:33 am, Dmitriy Nikolaev wrote: > Hello! > > I have only question. Is any official support for qt in Android-based > devices? If so, where can be find emulator for the Android device and > other helpful informa

Re: [android-developers] Re: App crash report - InputChannel - could not read input channel file descriptors from parcel.

2011-10-03 Thread Kostya Vasilyev
Ok, thanks for sharing. But... package installation is presumably handled by the core OS, and not the Market itself (or so we are told). Pretty amazing. 03.10.2011 19:23, TreKing пишет: Yup. I don't have receivers, but I see this from time to time with my Activity classes, which are obvious

[android-developers] Re: White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ¿why?

2011-10-03 Thread saex
Oh, power of two is the resolution... ok, my image es 180x140, then i supose that it is power of two On 3 oct, 17:56, Latimerius wrote: > In my experience, the classic cause of "white" textures on some hardware but > not other is a non-power-of-two texture.  Your code doesn't seem to enforce > P

Re: [android-developers] Re: White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ?why?

2011-10-03 Thread Jim Graham
On Mon, Oct 03, 2011 at 09:03:06AM -0700, saex wrote: > What you mean with non power of two? It means that your texture's dimensions are not a power of two, which, based on what I've read, is a REQUIREMENT, not a suggestion. > what is POT? Look at it in the context of the reply What three

[android-developers] Re: White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ?why?

2011-10-03 Thread saex
it is power of two, 180x140 On 3 oct, 18:13, Jim Graham wrote: > On Mon, Oct 03, 2011 at 09:03:06AM -0700, saex wrote: > > What you mean with non power of two? > > It means that your texture's dimensions are not a power of two, > which, based on what I've read, is a REQUIREMENT, not a suggestion.

Re: [android-developers] Re: White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ¿why?

2011-10-03 Thread Latimerius
On Mon, Oct 3, 2011 at 6:10 PM, saex wrote: > Oh, power of two is the resolution... > > ok, my image es 180x140, then i supose that it is power of two Um, if it's 180x140 then no, it's actually *not* POT. Try making it 256x256 (and adjust your texture coordinates accordingly). -- You receive

[android-developers] Re: Augmented Reality - Tutorial

2011-10-03 Thread EdwardComb
thanks..seems like easy to understand with the steps by steps mentioned there.. On Oct 3, 7:19 pm, Robin Talwar wrote: > use qualcomm sdk > > > > > > > > > > On Mon, Oct 3, 2011 at 4:46 PM, EdwardComb wrote: > > Hey Folks, > > > I am currently interested to create an Augmented Reality applicatio

Re: [android-developers] Re: Layout

2011-10-03 Thread Siva Prakash
Thanks for all your update. Even I don't mind to remove Back button but I want to know what is the best of keeping top bar with at least settings button. Thanks On Mon, Oct 3, 2011 at 7:43 PM, Kostya Vasilyev wrote: > It depends on the actual use case. > > For example: preference activities t

Re: [android-developers] GLSurfaceView's onPause and onResume called in Activity's onStop and onStart to handle partially transparent child-activities. Is this OK?

2011-10-03 Thread Streets Of Boston
We did a proof on concept (we actually have implemented it) before asking this question. You can actually remove the calls to GLSurfaceView.onPause and GLSurfaceView.onResume entirely and most of the time it will work. Leaving these calls out will fail only after *excessive *rotations/configur

Re: [android-developers] Re: White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ¿why?

2011-10-03 Thread Latimerius
On Mon, Oct 3, 2011 at 6:03 PM, saex wrote: > please can you explain it a little more? i'm new in open GL. > Okay, as a first quick test to determine if texture dimensions are indeed the problem, why don't you just start up your Gimp (or Photoshop or whatever you use), make a new image 256x256,

Re: [android-developers] Activity gets (re)created when device goes to sleep?

2011-10-03 Thread Latimerius
On Mon, Oct 3, 2011 at 12:35 AM, metin ögtem wrote: > it could be continue onResume()..You can logging it.. Sorry, I'm not quite sure what you mean by that. What else do you think I should be logging that could explain the behaviour? -- You received this message because you are subscribed to

Re: [android-developers] Activity gets (re)created when device goes to sleep?

2011-10-03 Thread Kostya Vasilyev
Is your activity locked to a particular orientation? 03.10.2011 20:34, Latimerius ?: On Mon, Oct 3, 2011 at 12:35 AM, metin ögtem mailto:android.develope...@gmail.com>> wrote: it could be continue onResume()..You can logging it.. Sorry, I'm not quite sure what you mean by that. W

Re: [android-developers] Activity gets (re)created when device goes to sleep?

2011-10-03 Thread Latimerius
On Mon, Oct 3, 2011 at 6:37 PM, Kostya Vasilyev wrote: > Is your activity locked to a particular orientation? > The actual activity in my program where I first noticed this is locked to landscape. However, the logs I quoted in my previous message are from a (almost) stock SkeletonActivity samp

[android-developers] Re: big arrays don't cry - just an alibi

2011-10-03 Thread bob
I changed it to float. Same Error. I changed it to static. Slightly different error: The code for the static initializer is exceeding the 65535 bytes limit On Oct 3, 8:48 am, Kristopher Micinski wrote: > If you go down to float you get half the size, ~16kb vs ~8kb? > > Kris > > > > > > > > On

Re: [android-developers] Re: White (error) textures on Android 2.2, but working normal textures on Android 1.5 to 2.1... ?why?

2011-10-03 Thread Appaholics
On Mon, Oct 3, 2011 at 9:45 PM, saex wrote: > it is power of two, 180x140 I don't know who taught you maths but 180 and 140 are most definitely not a power of two. I think you mixed it up with multiple of two. Thanks -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appa

Re: [android-developers] Activity gets (re)created when device goes to sleep?

2011-10-03 Thread Kostya Vasilyev
Make sure you didn't accidentally leave an orientation lock in the manifest, android:screenOrientation="landscape". You would also see this sequence if your activity runs in landscape mode just because of how you're holding the device, and the device's lock screen uses portrait mode (or vice v

Re: [android-developers] Re: big arrays don't cry - just an alibi

2011-10-03 Thread Kostya Vasilyev
Why not allocate the array dynamically and read it from an asset packaged within the .apk? You'll most likely need it in a dynamically allocated array anyway (such as an NIO buffer), keeping another copy in memory as a Java constant / variable just seems like a waste. -- Kostya 03.10.2011 2

[android-developers] Re: Is anyone able to play HLS on Vizio Tablet running 2.3.2

2011-10-03 Thread Mrid
can anyone help me with 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...@google

[android-developers] runOnUIThread method in doInBackground of Async Task...

2011-10-03 Thread Bluemercury
Hi! im using an Async-Task and currently im using runOnUiThread in the doInBackground method to refresh activities UI, this seems to be working but on rotation it loses the data and im usng the getLastNonConfigurationInstance and the onRetainNonConfigurationInstance methods, here's the parent c

Re: [android-developers] Activity gets (re)created when device goes to sleep?

2011-10-03 Thread Latimerius
On Mon, Oct 3, 2011 at 7:04 PM, Kostya Vasilyev wrote: > Make sure you didn't accidentally leave an orientation lock in the > manifest, android:screenOrientation="landscape". > Well I have this in my manifest quite intentionally ;-) - it's a game, it depends on landscape and doesn't make any s

[android-developers] Windows USB Driver

2011-10-03 Thread dmacke
We have a project for a Client to push an APK from a Windows platform. Basically we have an APYK we need to get pushed to a phone quickly and completely stupid proof. a. No Google Market (phone may not have data-plan or be configured) b. No Website URL (sketchy wifi and/or too cumbersome for them

Re: [android-developers] Activity gets (re)created when device goes to sleep?

2011-10-03 Thread Kostya Vasilyev
No, don't take out screenOrientation if you need it, it is not deprecated, and having it in the manifest is better than forcing it dynamically from code. As for the activity being recreated, that's not considered a bug, but a side effect of the top (your) activity's orientation being different

[android-developers] Re: BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED unresolved errors

2011-10-03 Thread robosmith
bump -- 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 For more options, vi

Re: [android-developers] Re: BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED unresolved errors

2011-10-03 Thread Kristopher Micinski
What API level are you building for. The first problem might be due to it being introduced at api level 10. Kris On Mon, Oct 3, 2011 at 1:38 PM, robosmith wrote: > bump > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to

Re: [android-developers] Windows USB Driver

2011-10-03 Thread Mark Murphy
On Mon, Oct 3, 2011 at 1:29 PM, dmacke wrote: > We have a project for a Client to push an APK from a Windows platform. > Basically we have an APYK we need to get pushed to a phone quickly and > completely stupid proof. APYK? > PRE-QUESTION - is there a way to launch a file saved on SD card > WIT

[android-developers] preventing keyboard pop up on device when screen pushed

2011-10-03 Thread John Goche
Hello, When I launch one of my screens with an EditText on a device a keyboard pops up pushing all elements on the screen out of the way. This is not the behavior I wanted since the user must may go to the screen to read the stuff the keyboard pushes out of the way rather than to fill in the EditT

Re: [android-developers] Windows USB Driver

2011-10-03 Thread Kostya Vasilyev
That's also a fine question for device manufacturers and Google. The manufacturer of one of the phones I have made the effort to publish their drivers, including the one for ADB, on Microsoft's Windows Update. Plugging the phone automatically found and installed those. Another manufacturer (o

[android-developers] Re: 9Slice and repeating image

2011-10-03 Thread rich friedel
Yes -- 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 For more options, vis

[android-developers] Re: preventing keyboard pop up on device when screen pushed

2011-10-03 Thread rich friedel
In your manifest declare the windowSoftInputMode and configChanges http://developer.android.com/resources/articles/on-screen-inputs.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: Windows USB Driver

2011-10-03 Thread dmacke
On Oct 3, 1:38 pm, Mark Murphy wrote: > On Mon, Oct 3, 2011 at 1:29 PM, dmacke wrote: > > We have a project for a Client to push an APK from a Windows platform. > > Basically we have an APYK we need to get pushed to a phone quickly and > > completely stupid proof. > > APYK? Ok I admit it -- I

[android-developers] Re: Fwd: Compuetr Vision Applications on Android

2011-10-03 Thread Indicator Veritatis
If you spelled it 'compuetr', then that would explain why you were not able to answer your own question with a Google search. Simply googling "computer vision tutorial" comes up with a LOT of tutorials. The Robotics Society one should be pretty good. As for computer vision on Android, take a look

Re: [android-developers] Re: Windows USB Driver

2011-10-03 Thread Mark Murphy
On Mon, Oct 3, 2011 at 2:41 PM, dmacke wrote: >> APYK? > > Ok I admit it -- I am sloppy typist. You get what I mean -- you didnt > have to call me out. Geez. I thought that there was a meaning in your use of the term that I was missing. > Totally agree. We loved the wifi idea. We have short URL

[android-developers] Re: Receive Broadcast when Media Player is open.

2011-10-03 Thread Doug
On Oct 1, 8:18 pm, bhaskar Kadam wrote: > I want to start my application when user starts the Media player. I > think it may work by receiving Broadcast of the Media player open. > But don't know how exact it will be done.. Anybody have better idea > than this? Please reply... thanx I don't think

  1   2   >