I've connected my app to my twitter acount using xAuth, and everything goes fine (I can see it on https://twitter.com/settings/connections)
After getting the access_token using twitter.getOAuthAccessToken(), I've stored it in my SharedPreferences, so to use it again.
However, I'd like to give users the opportunity to unlink their accou...
Hello Experts,
I am new to Android ... so just exploring ...
I created an application that starts a service. This service has to access the Location.
I am currently unable to do so ... I have given permission to my Manifest file ..
I think the issue is that the application has the permission, but the Service does not !
What happens i...
I have a long text and i want it to be displayed with a TextView. The text i have is much longer than the available space. However i don't want to use scrolling, but ViewFlipper to flip to the next page. How can i retrieve the lines from the first TextView that are not shown because the view is to short so that i can paste them into the ...
I'm considering a UI change that will look like such:
There will be a list of items in an ExpandableListView. Clicking on an item expands 1 more item below it. This item will have its own view which will contain a number of things pertaining to the item it expanded from. Basically, imagine clicking on the original list item and being...
as an end user, can I surpress sms alerts in the notification bar on android 2.1 (alert - but not show the first line of text)?
Is there a phone setting? Or an app out there that allows this choice?
...
Hi guys! I´m trying to rotate a sprite using drawtexture but nothing happens. I´m using the following code:
gl.glRotatef(90, 0, 0, 1.0f);
gl.glBindTexture(GL10.GL_TEXTURE_2D, TextureID);
(GL11Ext) gl).glDrawTexfOES(x, y, z, width, height);
The texture is drawn to the screen but it is not rotated... Anyone? :)
...
Hi guys,
I wan to hide/show my caller id from my activity programmatically. I tried to find it in the android documentation but without the luck. Maybe you have any ideas?
Thanks,
marqs
...
In simplest terms, I feel that these texture compression schemes should be available on all android devices, but I'm not sure about 2, and even then, I'm not so sure about 1.
compressed paletted texture
ETC1 (RGB 8 bit)
I can't seem to find the docs on this at developer.android.com. :(
If anyone just knows this info off the top of t...
I have some AsyncTask that loads a video stream into the player, so I want to show some Loading screen while it performs. Currently my onCreate code looks like this:
final View loadingView = getLayoutInflater().inflate(R.layout.video_loading, null);
final View playerView = getLayoutInflater().inflate(R.layout.player, null);
final VideoV...
Hi all. Hopefully someone can give me a pointer. I have an application that makes several web service calls. I'm in the middle of a refactor and I've pulled the actual calls out to a new class. The problem is that I can't seem to use:
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
or
TelephonyManager ...
Is there any way to encrypt data passing between two android phones in j2me?
Not to mention I am using BT as medium.
...
Im asking this because im trying to automatically change the locale language settings from a listpreference. And if i choose the language option in the listpreference window the preferenceActivity doesnt seem to go int the onPause method. I was wondering how could i imediately alter the language in this preferenceActivity, do i need to r...
I've been playing about with the layout of a view with Android (lets say within the MainActivity) and I'm looking to create this sort of layout using 3 ImageView's (where each block represents an image):
This is rather easy to pull of using LinearLayout's but only if you specify the exact size and position of each ImageView. This then...
Is it possible to customize the call screen in Android? Example would be, two users have the same application, user calls, but the other user cannot pick up, so they respond with some type of predetermined image baked into the application.
Is this possible?
Does this break any rules?
...
There is a HTML page that has a javascript function in it.This function returns a frame with a random picture.
Is there a way to call this function and get the HTML code that is hidding? (So i get the image)
Exactly i want to get a html stream from GoogleServices.js
by calling:
GS_googleAddAdSenseService("ca-pub-YOU
RPUBIDHERE");
GS_...
I have a TextView that is a single line. How can I add ellipses (...) if the text is too long?
...
Here is my color XML
<resources>
<drawable name="red">#7f00</drawable>
<drawable name="blue">#770000ff</drawable>
<drawable name="green">#7700ff00</drawable>
<drawable name="yellow">#77ffff00</drawable>
<drawable name="screen_background_black">#ff000000</drawable>
<drawable name="translucent_background">#e000000...
I'm trying to use the AccountManager for access to third-party applications like Facebook, Twitter etc. Whenever I use the AccountManager and try to get a token, I am getting an error "invalid authTokenType". I was passing "ah" since this is what the examples seemed to suggest for google accounts.
Does anyone know what the authTokenTyp...
The ListView has a nice fade on the top/bottom.
I have a ListView in the top half of my app, and then a ViewFlipper on the bottom. Is it possible to add a fade/shadow to the top of the ViewFlipper? This would look nice.
...
Each child in my ExpandableListView builds a context menu. In my OnCreateContextMenuListener() I need to access some of the TextViews that are displaying data associated with the child's group. ExpandableListView.getPackedPositionGroup() tells me which group is the child's parent, but I've been unable to figure out how to use this to get...