Android :: OPenGL - XML Integration
Aug 26, 2010
I'm making a media player application in android where one part of my screen has a animation which is made in OpenGL (ofcourse with Android/JAVA).....So my screen consists of 2 parts:
1) Left hand side consists of all the widgets (using xml).
2) Right hand side consists of the animation made in OpenGL.
I'm able to make the Gui (xml part) and also the animation (opengl). Can i integrate the GUI made in XML file with the animation (made using GLSurfaceview)?
View 1 Replies
Feb 25, 2009
Single Threaded OpenGL game ! (check bottom, you can download and use the helper class) Lighting disabled ! Depth Buffer disabled ! Culling enabled ! Textures disabled !
Just 176 integers (x,y values only) making 88 vertexes along with 132 index numbers making "44 triangles only"
Framerates I get is
with GL_BLENDING disabled - 145 fps approx only! enabled - 110 fps approx only!
I have the screenshot of exact code in the draw function here.. just 2 damn lines ! I have hidden only the comments.. click here to see it http://prasna991.googlepages.com/drawframe.png
variable details in the 2 lines of code =========================== ipts = 176 elements (only x and y for each vertex) totallinetriangles * 3 = 176 lineindexes = 132 elements - type "short"
Here is the screenshot of output drawing and how it will look like http://prasna991.googlepages.com/screen.png
OpenGL single threaded Initialization Helper ================================ Here is my OpenGL helper class.. makes the OpenGL initialization for newbies a cakewalk http://prasna991.googlepages.com/OpenGLHelperclass.txt
I tested by rendering on the touch event only.. frame rate drops only when u touch and drag and here I have just tested by tapping and releasing gently on the emulator and on the device
Is this the device limitations ? So graphics is actually a lot lot lot slower than on iPhone ?
View 8 Replies
View Related
Jul 24, 2010
I would like to be able to use the OpenGL API from both Java and C (via NDK).
In Java, there is a GL object passed, which has all GL methods on it.
In C, you just talk to the native library.
In a single onDrawFrame callback (for which Java is passed a GL), can I use methods on the GL object, and also call NDK methods which access the openGL library?
In other words, is the GL object just a wrapper for the same instance of the native library?
View 3 Replies
View Related
Nov 12, 2009
I really want to integrate Google Sky Map into a program I'm working on, but as far as I can tell there is no information out there about this. I tried loading a KML file from the web, but it seems neither Maps, nor Sky Map handle it on Android. Is there some way that I can pass coordinate data to Sky Map? Does it have any registered Intent-filters?
View 5 Replies
View Related
Nov 22, 2010
For twitter integration with android.
I have implemented game application there user can post there status on facebook as well as twitter
I have done integrating facebook.
I failed with twitter.please anyone help me
I searched on net by using that only one user post there message
If you any source code please share with me.
View 5 Replies
View Related
Feb 9, 2010
Am I the only one that has a hard time between the two? I mean I'll go to google places, search for a nearby restaurant and then I have to go the navigator and type in the address? seems silly - so I hope I'm missing something - if not, I'll put it in the google suggestion box!
View 1 Replies
View Related
Mar 8, 2009
I've installed the android SDK, Eclipse and the ADT plugin (got all the latest versions from the official websites: eclipse 3.4.2 from which I installed the ADT plugin and SDK 1.1_r1 from google).
I've set the SDK in eclipse and also added it to the PATH environment variable (I'm running Win XP SP2) and have entered the necessary Run configurations settings in eclipse.
Yet trying to open each of the sample projects and create a Hello Android project of my own consistently gets the following error from eclipse: R cannot be resolved.
I still don't know much about the framework but have read that the R.java is suppose to be generated automatically. Eclipse suggests adding an import to android.R, but the tutorial I'm reading seems to have no such import and even if I add the import the problem persist as the 'main' class simply isn't there.
I've changed the relevant code so to omit the use of the R class from this:
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);
to this:
TextView tv = new TextView(this); tv.setText("Hello, Android"); setContentView(tv);
While this did make the aforementioned error go away I still couldn't run the project since eclipse doesn't seem to work well with the ADT plugin (that's my guess at least) and the doesn't build the project.
When I Run it I get the following output on the console:
[2009-03-08 09:19:09 - Hello Android] ---------------------- [2009-03-08 09:19:09 - Hello Android] Android Launch! [2009-03-08 09:19:09 - Hello Android] adb is running normally. [2009-03-08 09:19:09 - Hello Android] Could not find Hello Android.apk!
The emulatore doesn't start of course. It seems to me like there's a problem with the ADT and Eclipse so that the projects aren't created properly (that R.java file is suppose to be created automatically according to what I've read).
View 2 Replies
View Related
Nov 23, 2009
I want to integrate twitter in my android app.so that i can post messages on twitter..
View 4 Replies
View Related
Dec 2, 2012
I want to integrate google+ to my application. I loged in with g+ successfully but I cant share any text or image to google+ from my application. how to share to google+ from android application.
View 1 Replies
View Related
Aug 2, 2010
I am trying to integrate VP8 video codec into PV opencore FW in Froyo & test at PV test application level. I have done the following steps, 1. Made a new folder for vp8 @ external/opencore/codecs_v2/omx/ omx_vp8. 2. Made appropriate modifications in the omx_baseclass, omx_common etc. 3. Modified the PV test app (external/opencore/codecs_v2/omx/ omx_testapp) for testing VP8. 4. included the VP8 source code to froyo. 5. Included new oscluuid for VP8 With these modifications, the build is fine. The shared libraries and binaries are creating properly. Also OMX-MasterInit is passing. But the application fails at OMX_GetHandle(). *pHandle is coming as zero. I am using the PV OMX core. I am just adding a new codec which is not supported by PV Opencore and test at PV test_app level.Can you please answer my below queries: 1. Do we need to change the pvplayer.cfg file? Bcoz i am using the PC omx_core itself. 2. Any other changes needs to be done for integrating a new component into Opencore? Please provide you valuable inputs. Let me know if need any additional informations.
View 4 Replies
View Related
Mar 16, 2010
I'm talking about apps that allow you to post things up on Twitter or Facebook from data you generate in the app (i.e. high scores, achievements, or results).
We put this into our How Am I Feeling? app but very few people seem to be using it - at least that I can see anyway as I can only track on Twitter.
What makes you want to announce what you did? Is it entirely an afterthought or just something you try once or twice and then forget about?
View 1 Replies
View Related
Jan 27, 2009
How can I integrate the cupcake audio streaming code into the existing android sdk?
View 3 Replies
View Related
Aug 27, 2010
Currently I have my Gmail calendar of course, in Red I have a shared Google calendar with the wife, in Green this is all very slick, all display entries in the built in calendar app and looks great. Can I somehow display my works exchange calendar, in a different colour, just as simply. Not bothered about mail or contacts really, just the calendar.
View 1 Replies
View Related
Aug 6, 2010
Considering the access Google has to programming genius and all of the brilliant coders out there developing apps and hacks, one thing never ceases to amaze me.
The utter lack of any integration between Google Calendar and Google Contacts.
You would think that you could just go to a Contact Record and from that record click on a button to create a Calendar Event. A link would then be created so you could easily call, email, message or navigate to the Contact for whom the event was created.
But no. You can't. Really, to me, this is remarkable for its lameness.
If you want to add email addresses of attendees to a meeting in Google Calendar, you must type them in from memory! There is no button to click which lets you select from a list of your Contacts and have the email control populated automatically. This, my friends, is PATHETIC.
Palm did this well 10 years ago.
C'mon Google, seriously, what the heck is up with that?
There is just one app that comes close to getting this right, "ContactEvent" and it's free in the Marketplace. Still, that is only half of what the functionality should be.
View 8 Replies
View Related
Aug 2, 2010
So I absolutely love Astrid, but it's missing one key feature for me. Calendar integration. I need the tasks to synchronize with the Android calendar.
Does such an app exist? Preferably one that is similar to Astrid?
View 6 Replies
View Related
Oct 26, 2009
I am working on a new project with TripIt integration. Tripit has an api and has Oauth authentication. I have tested much with oauth-signpost but I am not able to receive an access token. Does someone has a good example for oauth (signpost) that works good with Android?
View 6 Replies
View Related
Oct 30, 2010
I saw some topics here regarding facebook and twitter integration with Android Application.
I need help regarding, is twitter integration with Android App possible in real? [I need to tweet on user's wall and all]
If i wanted to integrate Facebook with my App then whether i go as per explained in following link(and if this is the recommended way then how to implement this SDK):
http://forum.developers.facebook.net/viewtopic.php?pid=146956
or
else i use Android facebook SDK available here on code.google.com
View 1 Replies
View Related
Jun 18, 2009
It would be very useful to add NFC feature to Android. There are a lot of projects in France around NFC integrated in mobile phones.
View 3 Replies
View Related
Jun 15, 2009
My company registered for Market when the G1 came out, setup a Google Checkout account as soon as possible, and this weekend listed a pay-for app.
Everything looked OK, but after a couple of days of 0 sales and a few users saying they were going to buy the app I thought I'd do a bit of digging around, and found that despite Market letting us list a pay-for app with a price and showing no errors the Google checkout account was suspended and thus couldn't take payment.
The reason; Not agreeing to a new Terms of Service.
So if you're listing a pay-for app, and you've seen no sales, you may want to click on the "Go To: Transactions" link on the developer console to see whether or not it's Google Checkout that's the problem.
View 2 Replies
View Related
Sep 17, 2010
I know you can embed the Google maps view in an android activity, but is it possible to plug anything into the actual Google maps app. say if somebody clicked on a result in the map, and instead of the standard screen show a list of options, like when you share an image. Like "tag this". Something like that. I can't seem to find any info on that. Its all on integrating MapView into your app.
View 1 Replies
View Related
Jul 6, 2010
Searched and read through all of the posts I could find about tasks, this one didn't seem to have been asked. I am a recent lifetime, primarily business, Blackberry convert (who's impressed by Android right down to my Swype keyboard). I have been on the search for a good task management app that integrates well with my messages (Live Exchange), and basically allows me to forward a message to my task list right from the message itself. Basically I want to open the email, determine it is a task that I need to get to later, and forward it to my task app. I know there is a rough way to do it with RTM by forwarding to my RTM inbox email address, and that's sort of okay, but RTM truncates the message severely, and I tend to lose all of the detail I need. I know Astrid is supposed to be great, but is there any way to better integrate with my device so that I don't have to manually enter all of the task details when they are already in the email message?
View 1 Replies
View Related
Oct 27, 2010
I never really gave Gtalk much attention in the 7 months I have owned my phone. But lately, specially since a lot of my friends are getting android powered phones, I have grown to really liking it. I actually like using it over text messages. I think that if I can get the majority of my friends to use it I might be able to lower my text message plan. Also since I get terrible reception in my apartment I find that having people contact me through Gtalk works out a lot better since I am on wifi at home. I would like to see a widget come out for it (which is the big advantage of text messages over it), and I hope google develops it more. I would also like to see maybe video chat integration since Gingerbread is suppose to have built in support for it.
View 12 Replies
View Related
Aug 5, 2010
My personal phone is the Moto droid (verizon), and I use it for all my personal stuff... gmail, internet browsing, google calendar, personal calls/contacts, etc.
It would be convenient to view my work email (corporate exchange server) on my droid.
If I enable the exchange account on my droid, how much control to I cede to the corporate IT department (I really don't trust them with any of my personal info)?
I heard that they can (also heard that they can't) wipe my phone. Is that true? If so, is it just my corporate/exchange email, or the gmail, personal contacts, google calendar (etc)?
Can they access browser history? Phone logs? personal contacts?
Basically, I'd like to keep my personal and work lives as separate as possible, but it would be easier to carry access my exchange email from that personal device.
View 3 Replies
View Related
Dec 8, 2009
I have an application which uses its own content provider in several activities. I've written a ProviderTestCase2 for my content provider without much problem. For this I extended RenamingDelegatingContext to use a test database instance.
Now I want to write integration tests against my activities, but I again want to use a test database instance for the provider - like I did in my provider test. I'm having problems here. I don't see a way to inject a mock context or MockContentResolver into activities launched in ActivityInstrumentationTestCase2. So, I've tried using ActivityUnitTestCase, but this seems wrong since my test isn't a unit test, and I want to be able to write tests that simulate user interaction and make assertions about data in the test instance of my database.
So... 1) Should I be using ActivityInstrumentationTestCase2 as the base test class?
2) If not, what base test class would you recommend?
3) How have you gotten this to work for you? Any examples?
View 3 Replies
View Related
Nov 1, 2013
Calendar and CalendarProvider from Android 4.4? I need to test calendar and exchange integration.
View 3 Replies
View Related
Aug 24, 2010
Just wondered if anybody here has fully committed their business (or works for a company that has) to the Premium Edition of Google Apps. If so can you give me any feedback on any real world issues that it has. Specifically I'm wondering how well it integrates with MS Office products. For example I receive a lot of Excel documents with embedded photos and .pdf files and will need to access and amend them. Similarly most of my customers use Excel and will need to be able to open a spreadsheet created by me in the Google system? Also can I migrate existing documents into Apps? I know these are fairly basic requirements and I would be surprised if Google haven't covered them, but are there any other issues that I need to consider before committing to the Gcloud?
View 25 Replies
View Related
Dec 27, 2009
I love the way the Hero's photo album and contact app integrates with Facebook / Flikr. From the album you can go right into you friend's pictures and thumb through them, and from the contacts you can see birthdays, Facebook profile pics, status updates, etc. Is there anything like this available in the market?
View 3 Replies
View Related
Nov 27, 2009
I like Melon because you can quickly add a new text note via voice with a one button click. Are there other apps with a better gui that offers the same?
View 4 Replies
View Related
Apr 8, 2009
I have developed bluetooth application where native library will be initiated by Java application (using JNI wrapper). JNI will call the entry function of the native library and then it will create Pthread to for scanning the device. Once Scanning is over, i will get the callback which i registered during the entry function of the native lib (called by app). But i haven't received the callback, but if i run the same native library in the shell (executable from the shell terminal) it is working fine. Can any one help me, if there is any specific architecture needs to follow while developing Java application based on native lib?
View 4 Replies
View Related
Nov 3, 2009
How is the integration of google voice with android 2.0? Does anybody know? Will i be able to seamlessly use text messages and voice calling through my GV number?
View 4 Replies
View Related