Android : Basic Function Of Intents In Droid OS?
May 28, 2010
I'm new to programming applications for the Android OS. As far as general architecture of the OS goes, I understand that processes are implemented as Linux processes and that each one is sandboxed.
However, I'm utterly confused on the IPCs and syscalls (if any) used. I know that the IBinder is a form of this; parcels are sent back and forth between processes and Bundles are array forms of parcels (?). But even that is still unfamiliar to me. Same with Intents. All in all, I don't understand what kinds of IPCs are implemented and how.
Could someone briefly explain to me the specific methods used by user level applications in Android OS to communicate with each other and the OS? I've done kernel programming and played with various IPCs in Linux (Ubuntu and Debian) so it would help immensely if this was all explained in relation to what I'm familiar with...
View 3 Replies
Nov 7, 2009
I have some code that is creating and removing alarms, and which works great in Android 1.5 and 1.6 but breaks on the Android 2.0 AVD.The code that's giving this exception is: Code...
View 3 Replies
View Related
Aug 2, 2010
I'm a new android convert. I'm looking for an app that will keep the next upcoming event on the screen like windows mobile will. I'm looking to upgrade the basic droid calender, this feature is the only one I miss from my HTC tilt 2.
View 1 Replies
View Related
Aug 13, 2009
I cant find a way to use an url that requires basic auth when im using code...
Anyone that got any ideas?
View 3 Replies
View Related
Jun 27, 2010
I downloaded the Android SDK and the Eclipse Plugin and installed them. When I however use the "Open Declaration" in Eclipse on basic Android functions and classes such as setOnClickListener or ListActivity it gives me an "Source not found"-Error.
The total Android source code seems to be 2.1 GB. Where do I get the source code of those functions that I call with the API to integrate it into Eclipse?
View 2 Replies
View Related
Nov 22, 2010
I am not sure how to send HTTP Auth headers.
I have the following HttpClient to get requests, but not sure how I can send requests? code...
View 2 Replies
View Related
Jul 21, 2010
I just deodexed the FRG01 build Pete posted a few days ago. I'm amazed i learned how to do it, although I had a tool that made it easier. Now I'm seeing during the deodexing it says the files are being put into a (origi_app) and (origi_frame) folder Root Explorer to look for these files and can't find them on my phone. Can someone please point me in the right direction? I'm on my way to making my first basic ROM.
View 4 Replies
View Related
Sep 14, 2010
How can I achieve the following layout in Android?
What I would like, is to have the 3 blue boxes top aligned in their view, and then I'd like to have the red box centered underneath the blue boxes, but so that when I animate the red box up, it slides underneath the blue box.
I have tried placing the blue and red boxes in different layouts, but as soon as I animate the red box up, if it goes outside the border of its layout, it disappears (I don't want the red box's layout to clip the red box, I want the red box to slide under the blue box so that the blue box occludes the red box.)
I have also managed to create this layout using a series of nested layouts, but because of the draw order, the red box always appears on top of the blue box. I attempted to use the bringToFront() method, but I found out that this only works on sibling views within the same layout. Unfortunately I can't get this type of layout while keeping all 4 views within the same layout. Any suggestions? (also, if anyone has better suggestions for the title of this question I'm all ears)
View 1 Replies
View Related
Oct 18, 2010
Is there a Rom that has bare items in it? I'm talking about just the basic basic essentials that makes the stock rom look like a joke. Something that doesn't contain ringtones, music files, just the bare items to keep the rom going: basic phone, basic texting, etc. and no added items like facebook, twitter, etc. No added scripts, features. If none like this exists, then does anyone know what is safe to remove from a stock rom and what needs to stay? I'm looking into making my own personal rom (and maybe one I can share with you all) that I can play with as far as adding and removing items while maintaining max storage space on the phone itself.
View 1 Replies
View Related
Jul 18, 2010
May I start off saying that I can't stop playing with this phone. How do I get a basic java site to work? I have an Aquarium web controller and it isn't opening it. This worked on My blackberry (w/Opera), WM, & iphone(3wks lol). Do I need a plug-in or something check marked?
View 2 Replies
View Related
Feb 19, 2010
whats your battery temps like with like just basic things like going between screens browsing the web for saying 10-15 min straight
what rom are you on and oc speed. i feel mine is pretty high at times and i cant figure out why
when charging the phone and using i can understand but alot of times even when not charging i start browsing for say that amount of time and got up to 44-46 c seems kind of high to me considering what I'm doing. I'm at 800oc sholes 2.0.5
View 4 Replies
View Related
Feb 3, 2010
If not, please consider this a formal request. I understand it will take away the sliding keyboard functionality, but I still want one. Honestly, I just like the idea of a slip over silicone case, as opposed to a snap on case. Any help where I can at least find a basic black slip over silicone case for the droid?
View 12 Replies
View Related
Apr 8, 2010
In android 2D UI, what's the function of opengl?
graphic system draw picture and text by skia->opengl->framebuffer, so in 2D UI what's the function of opengl?
in bootable/recovery/minigui the recoverty mini UI just display some png and text, why does it use opengl ?
View 3 Replies
View Related
Feb 19, 2010
Is it possible to show any animation when i call a function in same class in android?
In my application, i called a function "doAddition" so many times.And i want whenever i call this function, it shows some animation.
View 3 Replies
View Related
Nov 1, 2010
what is a kernel? I'm just lookin for a basic definition.
View 2 Replies
View Related
Jan 24, 2010
We already use Android API. But sometimes I want to know is it verified or not? by whom?(e.g. Android team in google) by which one? (e.g. Unit test or Basic Acceptance Test for API) Do android team have any test report? Because this is a platform for smartphone. For example, if there has any problem in Android API (e.g. Date and Time), it makes customer spend money and time more. But I can't find any report about verifying API test. If you have any information about it, please let me know :) Also if there has no information, how can I test some API to verify API.
View 4 Replies
View Related
Jun 29, 2010
I'm having great difficulty getting basic textures to work in an OpenGL ES app on my Droid (2.1-update1). I trying to render a simple textured quad - four vertices, two faces, with normals and texture coords. When rendered, the texture is garbled and full of static, similar to TV noise. The basic colors from the texture map are there, but obviously the texture isn't being read or applied correctly. My texture load sequence is simple : int[] textures = new int[1]; gl.glGenTextures(1, textures, 0); Bitmap bmp = BitmapFactory.decodeResource(cx.getResources(), R.drawable.img); gl.glBindTexture(GL10.GL_TEXTURE_2D, textures[0]); GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bmp, 0);...
View 2 Replies
View Related
Oct 3, 2011
I am a complete novice to the field of Android applications. I want to build a basic Android application of an "website alert and post service".
Eg: Lets take FACEBOOK or TWITTER as the website.The application which I design should intimate me about the new posts or tweets of my friends. At the same time I must be able to post or tweet just by opening a text box in the application and writing in it. As soon as I write, the message should get posted or tweeted on the website.
I am not sure about the complexity of the above application but I feel this would reduce the trouble of opening a browser, typing the website name and then logging in by putting the username and password.
View 2 Replies
View Related
Sep 24, 2010
It's possible to specify a particular function to be called when button is clicked by setting its onClick attribute in xml:
android:onClick="function_name"
I want to do something similar for FocusChange of buttons, is this possible?
Specifically, I wish to increase my button's size when it has focus and make it normal sized when not focussed. To apply this to all my buttons, I hoped to call a specific function which does this and then specify this function name in my style.xml. But there is no onFocusChange attribute in android.
It works when I add overriden onSetFocusChangeListener for each of my buttons separately in the code. But is there any other solution?
View 1 Replies
View Related
Apr 5, 2010
I have a Web View. I'd like to show some page from my server, but I require some basic authentication. Is there a way I can specify basic auth credentials when calling Web View.load Data() somehow? I can do this on i phone with the equivalent web view class, thinking maybe same is possible with android?
View 2 Replies
View Related
Aug 16, 2010
I have the following layout in XML (splashscreen.xml):
CODE:............
When I try to execute it in Android 1.5 (executes correctly in all other versions) I get these errors:
CODE:.............
Line 5 corresponds to ImageView line. Do you have any idea why my program executes in all Android versions except 1.5?
View 1 Replies
View Related
May 8, 2010
I am new to android and last year i bought two books of android 1.5. But at that time i was busy in my project so was not able to work on android. Now i want to start android again. Should i go for those books or should i buy new editions. Is there any major change regarding basic learning? My question is purely related to change in version.
View 1 Replies
View Related
Jun 5, 2009
I routinely use my g1's browser to connect to a website that is protected with basic authentication (so you get the popup for username and password). Ever since updating to cupcake, my phone seems incapable or unwilling to correctly use / remember my passwords. It's driving me crazy, and I'm ready to chuck the thing out the window, or at least revert to the previous version. Has anyone else experienced this problem?
View 2 Replies
View Related
Jul 6, 2010
I have been trying to code and run the hello world application but am not able to get the emulator to boot all the way. Plan b is vb.
View 3 Replies
View Related
Oct 13, 2009
I have a WebView in my layout which I want to display a web page in. However the webpage requires Basic Authentication.
If I try to access this web page in the normal android browser, I get prompted for a username and password which then gets remembered and works for the site in future.
I want to do the same thing in my application, but when I load the page into the webview it just comes straigt up with the Unauthorized message without prompting.
I guess the prompting for Authentication is written in code in the android browser. Does anyone know how to inject a username and password into the WebView?
I have done a search arond and found the setHttpAuthUsernamePassword (String host, String realm, String username, String password) Method, But can't seem to get it to work and I can't find anyone else who has either? Not sure if I am giving it the correct parameters as I'm a little confused by what is means as the Realm?
I assumed that if the site was myhost.dyndns.org then the hostname would be myhost and the realm would be dyndns.org? This didn't seem to work. I also tried connecting by IP Address but that makes the Realm setting even more confusing? Any ideas on how I can get this working?
View 4 Replies
View Related
Apr 28, 2009
I have created a web application in ruby on rails and I want to use it now in my android application. I use http basic authentication in my website but I don't get any success to authenticate me trough the android application..
I have protected resources and pages on the website that needs authentication to access it! How can I get this right in my application?
How can i do the authentication? i have tried with a arthroscope and BasicCredentialsProvider but i think i am not doing it good! Can someone help me!
View 7 Replies
View Related
Aug 26, 2010
First and foremost, are there many android developers here? Is this a good place for Android related discussions?I seem to be missing a rather large concept of Android development. The gist is I am struggling understanding how to tie an application together. I'm not sure how to explain it, so I thought I would do my best with an example from the Android ApiDemo... assuming you are familiar with it.
Inside the com.example.android.apis.view namespace of the ApiDemo, there is a class called Animation3.java.Animation3 inherits the activity class and there is some code inside to display animation.I can't find a reference to the class (Animation3) anywhere in the demo code (except for its definition obviously). The only mention I found is in the manifest xml file. So how the heck does this activity get started? Don't we need to create an instance of the class somewhere and fire off a method to start it? I don't understand how to generate the code that ultimately glues this class to the rest of the application.Additionally, what about other classes like views or viewgroups? How do I generate code outside the class that initiates/starts/uses/calls (insert proper term) the class.I would appreciate any code examples as well as any concept explanation or reference documents. So far I've read pages and pages on activities and views but I'm really struggling how to tie things together.
View 4 Replies
View Related
Jul 11, 2010
Does anyone know of a simple, text only battery status widget? I am working on making a very clean minimalistic LauncherPRO UI, and would like to find a text only, transparent battery status widget. Ideally, something that fits nicely using the Beautiful Widgets Home (Small) widget for clock/date/weather info.
View 8 Replies
View Related
Dec 28, 2009
I am looking for some sample code or tutorial that sets up the most basic opengl es application.
for example, just do glClear() in the renderloop.
i have already been searching the web but all i found was either out of date or too much and too complicated.
View 1 Replies
View Related
Apr 6, 2010
I'm trying to do basic authentication to view a protected url. I want to access the protected url which looks like this:
http://api.test.com/userinfo/vid?=1234. So I do the following with a WebView:
mWebView.setHttpAuthUsernamePassword("api.test.com", "", "me@test.com", "my password");
mWebView.loadUrl("http://api.test.com/userinfo/user?uid=53461");
but the authentication doesn't seem to work, I'm just getting an output error page. Am I using the WebView method correctly here?
Update:
Trying with curl: curl -u me@test.com:mypassword http://api.test.com/userinfo/user?uid=53461
and it pulls the page fine. I tried every combination of the host parameter, the owners of the api don't know what I mean by 'realm' though (and neither do I) - what info could I give them to help this along?
View 3 Replies
View Related