Android :: Getting Hardware Floating Point With NDK

Jun 9, 2010

I've begun playing with the android NDK. One of the things I've just learnt is about creating an application.mk file to specify the armv7 abi. I'm building the san-Angeles example with the following parameters. Code...

Android :: Getting hardware floating point with NDK


Android :: OpenGL ES Fixed - Floating Point

Oct 13, 2009

I've started developing an OpenGL ES app and I would like to get the best possible performace (as everybody, I guess).

As far as I know, HTC Magic (myTouch, G2) doesn't have floating point unit, so I think every calculation is done internally with fixed point math. That beign the case, altough I fed OpenGL with floating point vertex positions and normals, there would not be any permormace penalty since it would be using integer math instead of floating point emulation.

View 2 Replies View Related

Android :: Floating Point Support On G1 Phone

May 17, 2009

I have been searching about the floating point support on G1 phone (aka the HTC Dream phone) for a few hours.

So far, my conclusion is that the ARM-based Qualcomm MSM7201 CPU does not have VFP (floating point coprocessor) and therefore floating point calculations have to be done via software-float.

This is quite disappointing as I am interested in developing applications with heavy math.

However, I also notice that the Qualcomm CPU has QDSP4000™ and QDSP5000™ high-performance digital signal processors (DSP), according to http://www.qctconnect.com/products/msm_7201.html

Therefore, here is my question: would it be possible to leverage the DSP modules in the MSM7201 CPU to do the floating point math?

Also, I would like to develop the heavy-math modules in C/C++ and call it via JNI, and so I just want to double-check whether this is a feasible approach.

View 13 Replies View Related

Android :: Floating Point Hardware Support?

Feb 22, 2010

I'm currently developing a application on a HTC Dream aka T-mobile G1. afaik the processor has a FPU coprocessor, called VFP (Vector Floating Point) in ARM terms. So far I couldn't find any information about if the FPU is used for floating point calculations or if those are emulated in software. does anyone have any information about that? the opengl implementation supports both fixed point and floating point. will my applications be slower when I'm using floating point, because they get transformed into fixed point internally? or is floating point implemented in hardware?

View 5 Replies View Related

Android :: Open GL Fixed Vs Floating Point?

Jan 6, 2010

OpenGL ES allows values to be specified in either fixed point or floating point format, but I haven't been able to find any information about how this is actually implemented on Android devices. Are there actually two different pipelines, one for fixed point and one for floating point? If so, what happens if you mix and match them, such as specifying your matrix in floating point but your vertices in fixed point? Alternatively, does it implement everything with just one format internally, and convert the other format to it as necessary? If so, then you presumably get the best performance if you always specify values in the internal format so as to avoid conversions. How then can I determine which format is used internally?

View 9 Replies View Related

Android :: Add Floating Point Value To Resources / Values

Jul 19, 2010

I'm trying to add a little space between lines to my Text Views using android:lineSpacingMultiplier
from the documentation: Code...

View 1 Replies View Related

Android :: Math Floating Point Library

Jan 12, 2010

I need maths for my game physics and lots of them, so I use the. Math library. And guess what? I never casted so much to floats in my entire life. And i know how costly it is to use doubles on an embedded device because I read the performance optimization page in the google android sdk docs. So I am wondering if we couldn't get a Math package with functions taking and returning floats instead of the default doubles. e.g. Math.sinf Math.cosf.

View 3 Replies View Related

Android :: Floating Point Support / Determine At Runtime?

Oct 20, 2009

Is there a way to determine if the system supports floating point? That way, I could choose between two algorithms to use.

View 4 Replies View Related

Android :: Floating Fixed Point For NDK OpenGL Apps?

Aug 2, 2010

I'm trying to decide on whether to primarily use floats or ints for all 3D-related elements in my app (which is C++ for the most part). I understand that most ARM-based devices have no hardware floating point support, so I figure that any heavy lifting with floats would be noticeably slower. However, I'm planning to prep all data for the most part (i.e. have vertex buffers where applicable and transform using matrices that don't change a lot), so I'm just stuffing data down OpenGL's throat. Can I assume that this goes more or less straight to the GPU and will as such be reasonably fast? (Btw, the minimum requirement is OpenGL ES 2.0, so that presumably excludes older 1.x-based phones.)Also - how is the penalty when I mix and match ints and floats? Assuming that all my geometry is just pre-built float buffers, but I use ints for matrices since those do require expensive operations like matrix multiplications, how much wrath will I incur here. By the way, I know that I should keep my expectations low (sounds like even asking for floats on the CPU is asking for too much), but is there anything remotely like 128-bit VMX registers?

View 2 Replies View Related

Android :: Rotate Floating AVD

Oct 13, 2010

When the AVD screen is in an Eclipse frame there is a button on the frame to rotate orientation. How do I cause the same action when the AVD screen is floating outside Eclipse?

View 4 Replies View Related

Android :: Floating Bar In Layout

Jul 18, 2010

How to add a floating bar that will stay at the top of a layout page, even when a user is scrolling through the contents of that layout?

View 1 Replies View Related

Android :: How Is This Floating Menu Implemented

Nov 11, 2010

What is this widget called (the one with the three buttons).

View 4 Replies View Related

Android :: How To Make Floating Button

Nov 25, 2009

I wonder how to make floating buttons, like the zoom button in the build-in web browsee?

Actually there are 2 things i'd like to know:

1. How to make a view(button) floating above other views? 2. How to make the fade in/fade out effect regarding to touch screen?

View 2 Replies View Related

Android :: How To Design A Floating Keyboard

Oct 13, 2010

I am a developer and recently completed the implementation of my keyboard MessagEase. It's available on the Market (with its very- different features, making it quite unlike QWERTY).

This keyboard works fine as a replacement of the standard keyboard on an Android Phone. But for a An Android Tablet, it would work best if it's implemented as a floating, movable keyboard.

(the footprint of this keyboard is mostly dependable on the size of a human's finger; it remains the same even if the tablet's display is much larger than a phone's. Therefore it'll take a relatively smaller area on a tablet.)

If I use the current SDK hooks, it will have to take a significant portion of the screen, defeating the purpose.

View 2 Replies View Related

Android :: How Can I Have A Floating Image With Text?

Jun 7, 2010

It's kind of hard to explain, but an example of what I'm wanting to accomplish is like this: thought about generating the layout in html and using a web view, but I need to be able to perform an action when the user clicks on the image. Does anyone have any ideas?

View 1 Replies View Related

Android :: Floating Layout With Buttons?

Nov 17, 2010

I want to create layout like this on facebook app. Тo appear with effect from bottom to top.I don't know where to find example (xml and code) for this.

View 2 Replies View Related

Android :: Floating Apps - Which Run On There Own In The Background Like Facebook

Jan 17, 2010

I love Android, coming over from the Iphone i have Tmobile Pulse!

I love how Android had "Floating Apps" Apps which run on there own in the background, like facebook?

Is there anymore apps like this, which can do the same, a Gmail one would be awesome or news feed (RSS)

Also on my Android i have a big cluttered messy list off apps on one page, looks like this, comes with some games i don't want. How can i get rid of them ?

View 3 Replies View Related

Android : Floating Popup Window - How To Implement?

Aug 30, 2010

I would like to have the following screen in my application: button at the bottom of the screen; when user presses the button, a list with a number of items will appear and user should be able to click one of those to start another activity. The number of items can be different (depending on some other conditions); the popup is to be adjusted to the button. How would you suggest implementing this?

View 3 Replies View Related

Android :: Layout When Setting WindowIs Floating To True?

Mar 3, 2010

I've got a ListActivity using the Theme.Dialog theme and windowNoTitle set to true.

Unfortunately, when I do this, the header rows (just normal rows in the list but they look like sub headers) refuse to fill_parent width (instead, they wrap_content - the header text).

I noticed this was not a problem when using the Theme theme so I started narrowing everything down to what was causing the problem.

The answer: windowIsFloating. Theme.Dialog sets this to true, and if I override this to false, then the headers happily fill the parent width.

Is there a way around this (because I would like to set windowIsFloating to true)?

View 8 Replies View Related

Android : Adapter Drop Down Clipped On Floating Window

Aug 14, 2010

I'm having a problem with floating windows. My activity has an AutoCompleteTextView text in a floating window positioned at the top of the display. If enough text is entered to make the drop down appear it will be initially clipped to the bottom edge of the window. If you click on the drop down it appears unclipped.

I've stripped my activity down to a test program and put a copy here:

http://www.invisibility.org.uk/adaptertest.tgz

In summary, the main activity just inflates a view and positions it at the top of the display: Code...

View 2 Replies View Related

Android :: How To Show Floating Menu Similar To Sub-menus On Screen Tap

Feb 9, 2010

I want to show a menu similar in look and feel to the sub-menus. I want the menu to come up when we tap on the screen. Is it possible to have sub-menus displayed without creating the main options menu? I do not want to use context menus for this.

View 3 Replies View Related

Android :: How To Create A Floating / Editable / Scrollable List In Phone?

Jul 9, 2010

I want to show a list of items when the user clicks an overlay item on a map. The user should be able to select any of these items and edit them. The list can have many items (more than that can fit in one active screen) therefore it needs to be scrollable

View 1 Replies View Related

Android :: Beautiful Widgets Removed - Clouds Floating Across Screen

Oct 7, 2010

I bought Beautiful Widgets, installed them and removed them from my screen. I am deciding how I want my little Zio to look. And no, I am not upset at my little problem. I love and would recommend the program. However, this AM I noticed clouds floating across my email screen after the phone sat idle for an hour or so. I took a look at all running apps (Task Killer, sorry) and nothing seems to be running that would account for the animation. I asked Mr. Google about this and he is as clueless as I am.

View 4 Replies View Related

Sprint HTC Hero :: HTC EVO 4G ROM Floating Around

May 21, 2010

For those that have seen the HTC EVO 4G ROM floating around first announced on Engadget... or the technologically savvy... Can Sprint HTC Hero users/owners install this on their devices? What are the best and worst case scenarios if one were to attempt such a task? Would it actually work, what is this ROM essentially, what makes it different than the 2.1 update Sprint Hero owners just received?

View 3 Replies View Related

HTC Hero :: Floating Weather On 2.1

Jul 30, 2010

Just recently gone to 2.1 (orange uk) and noticed the way the weather works now. If it's cloudy for example clouds will fill my screen and float across.

My question... what activates it? As it seems to be random when I open my home screen?

View 13 Replies View Related

General :: Floating Shortcuts Anywhere?

May 14, 2013

I have been looking for an app that will place a small, transparent icon on my screen that can launch an application. I would love to have an icon that looks something like the icons for SmartTask Bar and ButtonSavior. But I just want it to be a shortcut so that I can launch any other app the same way.

Here's an image of what I'm talking about.

View 2 Replies View Related

HTC Incredible :: R2D2 Sounds Floating Around

Sep 30, 2010

I was wondering if anyone has seen the R2D2 sounds floating around? It would be sick to have them on my Incredible.

View 3 Replies View Related

General :: Floating Memo / Text App Or Widget?

May 13, 2012

So I'm looking for an app, much in line with overskreen, or air terminal in it's execution, but all it needs to do is let me take notes in it, a tabbed interface would be great, and ability to save would also be great, but honestly I don't even need that. Just need a simple floating window that allows me to type some quick notes in it. Or paste some text in there so I can view it from another app.

I could probably use overskreen for this, but it just seems like overkill to have a floating browser as a text pad. I didn't find any on the Store, but I did find an app called "Floating Widgets" ( or something very similar to that name ) which basically allows you to take most widgets and make them 'stay on top' ( ie. float ). This would work great I'm thinking with a note widget for memos. The only problem is all the memo widgets I saw and tried( free ones anyways ) didn't seem to allow direct typing in the widget, they opened some kind of editor and then saved to the widget when you exited. This defeats the reason of having a floating memo widget lol.

An existing widget that does this, floats, etc... B.) A normal widget that allows direct typing in the widget itself instead of opening some kind of proxy app? or C.) Some other solution other than using a browser?

View 1 Replies View Related

General :: Extending Floating Window Functionality?

Jul 25, 2013

Adding "floating window" to the long press context window of an app icon and/or a system setting for double clicking the app icon to open in a floating window. I don't Dev. This is a freebie. Would be a cool PA/CM/AOKP option.

View 1 Replies View Related

General :: Multi Floating Window Such As Computer?

Apr 8, 2014

I just want to share with you some concepts of multiwindow which are really impressives ! I think that you saw it on youtube, but I am enjoying to have a such app on my new device !

Tieto concept: [URL] ....
The perfect Ixonos concept: [URL] ....

I don't know nothing about codes but I just put this topic, to know how I can have the same app.

I saw Xmultiwindow on Xposed, but it is not floating windows and it seems that there are some bugs with non-common apps.

How can we imagine and code the perfect MultiFloatingWindow app ? Do you know an available app which is like these concepts ?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved