Android :: Possible To Embed External Activities Using LocalActivityManager?
Jan 25, 2009
Is it possible to embed some external activities, lets say, com.android.calculator 2.Calculator in my activity?
i always get exception saying that my activity's uid != Calculator's uid. should i use some permission? or from security reasons its not possible at all?
View 6 Replies
Nov 22, 2010
I need an Activity showing a specified PDF and two buttons. Is possible to embed an external PDF viewer - showing a specified URI - inside the view of my application? How can I do it?
View 5 Replies
View Related
Jul 19, 2010
When you launch an external activity (from another application), is the new activity loaded in the existing applications process or does Android spawn a new process corresponding to the other application?
View 1 Replies
View Related
Mar 24, 2010
I need a to create a layout that holds to other layouts. each one of the layout should be populated by a different activity.
I've done some research and came across the fact that I need to implement an ActivityGroup and use it's LocalActivityManager. problem is that I don't understand the View hierarchy in such a situation. a naive attempt to find the view of the parent window (simple findViewById) fails (returns NULL).
I can't find any examples on the web. have anyone done it before?
View 6 Replies
View Related
Aug 20, 2009
I have a tab with an activitygroup as the intent of tab1.
My code of the activity(group):
CODE:..................
View 2 Replies
View Related
Jun 30, 2010
how to call BarCodeScanner, and return the value to a field.so now, i have a toast that says "successful scan" and then i want to pass the result to a new activity. when i comment out my intent, everything works (minus the passing of data/switching of screen, obviously) but when i run my project as is, it FC's no errors reported by eclipse in code or xml. any insights?
View 2 Replies
View Related
Jul 29, 2009
I'm trying to figure out how to emebed a listview in a tabhost Whenever I call it dies a rather unglamorouis death.I suspect I'm missing something rather obvious as I'm just getting started with this, but I couldn't find other examples of people having listviews inside tabcontrols besides the one which suggested as above. Any suggestions?
View 4 Replies
View Related
Mar 19, 2010
I want to embed the analog clock in my application.
I use <AnalogClock android:layout_width="wrap_content" :layout_height="wrap_content" /> in my layout XML file, but the clock's appearance is different from the one added in Home screen. I know I can copy the AlarmClock's images to my project. And in xml file, set the android:dial, android:hand_hour,and android:hand_minute to my project's images. But I want to know is there a way to directly reference the resource in the AnalogClock?
second question, Can I add the app widget from code? I tried use following code to add a appwidget, but it seems the getAppWidgetIds don't work?
CODE:...................
View 3 Replies
View Related
Jul 7, 2010
I have tried via <a href="market://search?q=pname:com.google.zxing.client.android"</a> but it is not working. I have also checked in Google Android T-mobile G1 but it does not show me link. How can i embed link of android market application link in sms?
View 2 Replies
View Related
Aug 11, 2010
Can anyone shed any light on why I'm unable to click and play a youtube clip on an Android handset when placed inside a webview?I've put a very simple app together (it's being extended, but no right away) and it has a web view assigned using the Android SDK.The rest of the webview works as expected (text, images, css etc), however, the YouTube clips will not show, they just show as black or white rectangles (where the video embed should be).We use the same view to display content on the iPhone app equivalent, without any issues.This is using a basic flash embed, the Safari browser on iPhone converts these to H.264 and plays them nicely in QuickTime.Can Android do the same?
View 4 Replies
View Related
Aug 6, 2010
I would like to have an app include a custom font for rendering text, load it, and then use it with standard elements like StaticText. Is this possible?
View 1 Replies
View Related
Nov 19, 2010
This is my layout...
This xml is the main.xml with main.java. How can i embed intro.xml with intro.java into the <Textview>?
View 1 Replies
View Related
Jul 28, 2010
I want to access contacts in my app and don't want to start the native app, but write my own contacts listview and processing filter is too much tricky.
So is it possible to embed the contactslistview into my application?
View 1 Replies
View Related
Aug 19, 2010
I have a fully-working web app that is accessible using Android's browser.
The annoying part is the url bar uses a lot of the screen. Is there a way to make this web app a native Android app? I've read that webview can be used to embed a web site within the Android App.
Unfortunately, I only know web programming languages and have no Java experience. Will I still be able to do this on my own?
View 2 Replies
View Related
Jun 13, 2010
I want to integrate i-jetty into an Android application and not the other way around. Has anyone included i-jetty before and got it to run under Android 2.1 or 2.2?
View 1 Replies
View Related
Oct 11, 2010
My Question is can we embed mp4 file in android webview client.?
Second, is can we embed apk file in WebViewClient?
View 3 Replies
View Related
Jun 10, 2010
My question is I think quite simple but I don't think the answer will be...
I have quite a lot of content to have in my application to make it run properly, and I'm thinking of putting all of it in a database, and distribute it in an embedded database with the application in the market.
The only trouble is that I have no idea of how to do that.
I know that I can extract a file .db from Eclipse DDMS with the content of my database, and I suppose I need to put it in the asset folder of my application, but then how to make the application use it to regenerate the application database?
View 2 Replies
View Related
Apr 17, 2011
I am trying to get embed flash video on webview from IMDb Video: Hannibal. I tryed with:
Code:
String html = "<object width="425" height="344"><param value="youTUBElink"><embed src="youtTUBElink" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="425" height="344"></embed></param></object>";
[Code]....
View 3 Replies
View Related
Nov 26, 2013
've noticed suddenly that I have no sound on any clip playing from a youtube embed. Am I the only one? Thought everything was fine yesterday... Sound settings look ok and Vimeo embeds are working properly. I was checking out this page: [URL] ......
I've restarted the tab, browser, phone etc. What should I do!
View 2 Replies
View Related
Sep 7, 2010
I know it is possible to develop a full flex application using AIR for android but what I need is to embed a flex component into an already existing classic Java android application.
I found some flash players in java but they all either require a JFrame or include of specific windows dlls.
Is it even possible ? I found no info on the net about this
View 2 Replies
View Related
Aug 12, 2009
Is there anyway I can embed my application's settings to global settings screen (resides in launcher as Settings) without modifying the Android Settings application.
View 2 Replies
View Related
Jun 23, 2010
Can I embed Tab Layout into other layout?
The designed layout is like below...
I just want to have tabs in my layout but not the root. Is it possible?
View 1 Replies
View Related
Nov 14, 2010
I have an Activity which is an OpenGL view. I also have an xml layout to use for preferences. Until now, to show the preference menu, I just brought it to front by setContentView(). And the same to get back to the OpenGL view. But is this a case where I should give the preference menu its own Activity? I guess this would make a few things much easier. For example, the back button would just work, opposed to now where I have to code it or it will just exits the application.And if this is a good idea, how do I pass data both ways? I have a class that store all preferences. Can I send it to the Activity and back again? Or is the best way to store the preferences in a sqlite database and then use it for passing data?
View 2 Replies
View Related
Apr 22, 2009
I have read 'http://developer.android.com/guide/tutorials/notepad/notepad-ex2.html', specifically step 4 ahow can I return a different result to the 'calling activity', in this example, it always return ACTIVITY_CREATE. What if the 'activity being launcher' has a 'okay' and a 'cancel' button. How can the 'calling activity' knows which button user presses in the 'activity being launcher'.
View 3 Replies
View Related
Aug 15, 2010
Right now I have 2 activities (A+B) and what I would like is for only 1 of them ever to be on the stack (If A shows B, I want the back button from B to go to the home screen not A). Is their a good way of doing this with activities Or should I change my app to be a bunch of views?
View 5 Replies
View Related
Apr 15, 2010
In my project ,I need get all the name of the activities ,not only my own application, but also the third party application , and how can I get?
View 3 Replies
View Related
Aug 20, 2009
I have an application with three tabs. Through various interactions with the items in the tabs I end up launching other activities. The client has reviewed this and would like the activities launched "within" the tabs, so the tabs remain visible and if the user clicks the tab it goes back to the original activity defined in the setContent function. Is this possible and how would I go about this from other activities? (ie the child activities, not the one that defines the TabHost and has access to call setContent)?
View 4 Replies
View Related
Feb 8, 2010
I have a very simple game that consists of only one activity, and I want to add a title screen.If the title screen is another activity, what changes do I need to make to my manifest file to make the title screen open first?The gameplay activity is called Leeder, and the title screen activity is called LeederTitleScreen.
View 1 Replies
View Related
Apr 3, 2010
when click the grid item, i want to show a progressbar between the time of next Activity shown. then the second activity has a custom listview. there also i want to show a progressbar. how to do that?
View 1 Replies
View Related
Jun 10, 2010
I need to have two activities in an Android app that can be switched between each other with UI persistence.I would like the changes made in step 2 to be visible in step 4.I have tried using the singleInstance activity tag on Activity B to no avail. I would also prefer a more elegant solution than simply writing all object properties to a file or SQLite table.It seems that this behaviour must be easily achievable given that Android does it automatically for calls to onBackPressed() where the parent Activity's UI is saved.
View 2 Replies
View Related