How to use android.webkit.PluginStub - android

I create a Android App with WebView ( embed, as main UI | HTML5 app).
Also, I have some code to render 3d stuffs, in order to embed my 3d render, I think i need to create a plugin for showing up in WebKit.
I find "android.webkit.PluginStub" , I search google and stackoverflow, didn't find any useful example.
Any one has any experience on PluginStub, can you share ?

There is an example in the Android sources at development/samples/BrowserPlugin, I haven't tried it as Android developers Dianne Hackborn and Roman Nurik had said there is no actual support for them, anyways give it a try, who knows :)

Related

Is there an official Android section View?

List sections are used quite a lot in Android through out Google's own applications and in some of the framework's features as well, i.e. preferences.
This made me wonder if there is an offical section View available in Android? If so, it seems to be hidden.
Here's a picture from the Android Design site that shows what I'm talking about:
This made me wonder if there is an offical section View available in Android?
No, sorry. There are plenty of libraries for this, and you can probably grab some code out of AOSP for it as well, but there is nothing in the SDK for it. Just because the design folk think it is a good idea does not mean that we actually have code in the SDK to leverage such ideas.

Book, tutorials or sources for creating rich/complex interface (android)

Pretty much the title. I'm new in android development. So, I'm interesting about developing rich application, but cannot find a good tutorials. I would be realy appreciated if someone guide me some resources for start.
Maybe there is some open source project where I can find helpful information?
Thank you
UPD1
Is there some guide from start to end where explained how to make an application such a twitter app? Or any other kind of complex and start to end described application?
I would recommend starting here. The Google UI guidelines. It explains the different API for creating UI elements and also gets into pros/cons about icons, menus, fonts and so on.
http://developer.android.com/design/index.html
http://appinventor.mit.edu/explore/sites/teach.appinventor.mit.edu/files/MIT%20App%20Inventor%20Development%20Overview_0.pdf
http://cs.usfca.edu/~wolber/appinventor/bookSplits/ch4NoTexting.pdf
These are some of the links that i found very useful for complex android app development.

3D Scene Creation & SDK

I am looking to create a 3D scene for Android devices.
I do not know where to begin, so help would be appreciated.
I, basically, need to create the 3d scene (what to use?) allow objects to be added or removed from the scene, and have an SDK to load and display the scene on an Android device.
I know all this would be ideal in a single resource, but I know I will have to adapt function calls to JNI/Android OpenGL.
Any help for how to get started or where to begin research would be appreciated.
PS. I will use a viewport to look into the scene from different perspectives.
Maybe you are looking for something more advanced but processing.org is a great place to start if you just want to use Java.
There is a Processing.org IDE for Android and you can use a plugin for eclipse.
There are a lot of great 3D modelling libraries that are easy and fun to use but also really good.
Here are a few links that may help if you think it's worth looking at.
One of many cool videos showing what you can do with processing.org
A less cool but interesting demo
Some libraries
The processing Android Wiki
Follow the links...
http://developer.android.com/guide/topics/graphics/opengl.html
http://www.droidnova.com/android-3d-game-tutorial-part-i,312.html
Tutorials and libraries for OpenGL-ES games on Android
http://www.enfis.it/archives/14

UI design guidelines of Android - where to be found?

I'd like to develop apps for Android after 2 years of developing iPhone apps. First of all, I'm not a programmer. I'm a UI designer and usability engineer with basic knowledge of app programming. I have a colleague doing the part of the programmer. So my first look into the documents on developer.android.com titled "UI design" resultet in surprise. No real design guidelines, just clutter about coding, no concrete hints how apps have to look like what you are expecting when you read "UI Design". OK - Android is a very open system for many different hardware types - maybe a little bit hard to give advices that fit for all systems - but not impossible. Let's look at e.g. Symbian - it's relatively open too and they have this: forum.nokia.com/info/sw.nokia.com/id/8299c7a4-d3d8-4c4c-b62e-97a4c831e6a3/User_Experience_Evaluation_Model_v1_1_en.pdf.html
Great help, good basics!
Apple has this: http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/Introduction/Introduction.html
Examplary done!
Now I am searching for the equivalent document for Android UI Devs (again, not the programming part). This one looks great: developer.android.com/guide/practices/ui_guidelines/index.html
but it does not cover all scenarios and sooner or later gets lost in advices for coding.
I'm looking forward to your help.
Many thanks and best regards.
I think those at http://developer.android.com/guide/practices/ui_guidelines/index.html are the only ones at the moment, quote: The Android UI team has begun developing guidelines for the interaction and visual design of Android applications. Look here for articles that describe these guidelines as we release them.. So it sounds like there will be more in the future but they haven't finished them yet.
You can also find some information here: http://developer.android.com/guide/topics/ui/index.html
In general, I don't think Google has a different mindset than Apple when it comes to design so I doubt there will ever be as much official material.
There's a document called androidhig.pdf that seems to be someone that has just created a set ot reasonable guidelines themselves by adapting the IPhone ones, I can't find any download link for that document now, but if you google for the file name you can do quickview on at least one of the links to see the contents of the file.
Google has launched a brand new site with Android UI and design guidelines.
As #ho1 notes, HIG is very much a work in progress. In addition to those suggestions, I'd recommend a recent blog post on UI design patterns, which I found enlightening.
EDITED ADDENDUM: UI design patterns were also described at the I/O conference, available as video.

Android PDF reader from scratch

I know it sounds ambitious but our client requires a PDF Reader of his own with some selected functionalities. Can anyone guide me to some good tutorials for paving the way to start this development?
I guess I need to clear some pdf basics and start from scratch OR i would be happy if there is any library which i can use directly and only modify the controls at my will.
In terms of specific Android implementation, I really can't advise you there, I'm afraid.
However, there is a lot of PDF viewing software available that is open-source which would allow you to see the underlying code to learn from.
One example is PDFedit, which is also an editor, but there are loads on SourceForge or Google Code you could have a look at.
This Wikipedia section has a list of multi-platform development libraries which could help you. There is also a bunch of PDF software, much of which is open-source. Perhaps you could find a simplistic one and have a look at how it parses PDFs.

Categories

Resources