I'm writing an application for Android that uses symmetric key encryption to protect sensitive data. As far as I can tell, Android only directly supports "PBEWithMD5AndDES". How secure is this algorithm? Also, I've included my code below (non-andriod). Is my code correctly encrypting the data?
import java.io.UnsupportedEncodingException...
Hello, I am having an issue with a task I'm supposed to do,
I'm supposed to send MMS using our own interface on android 2.1
so as you can guess calling the default Activity is out of the question.
So my question, is there a way to programatically send MMS using the android SDK
without calling their intent,
I tried importing the MMS app ...
Hi folks,
I would like to draw a curve connecting three points in my screen
PointA = (480,46)
PointB = (160,137)
PointC = (0,228)
How to draw the curve using Android APIs ?
Please Help..
Thanks,
Sen
...
Based on the doc,
http://developer.android.com/reference/android/graphics/LightingColorFilter.html
it seems like the LightingColorFilter class only has a constructor. (Same to its parent class, ColorFilter)
How do i keep only ONE instance of LightingColorFilter while having the flexibility to modify the color properties for that filt...
I need to create fixed size sqare buttons with relatively large characters on them for a calculator app.
When I increase text size, the character is no more displayed in the center of the button and the button's position gets shifted some pixels to the top (very strange).
http://img9.imageshack.us/i/buttontest.png/
If it's possible I d...
i have four Question Regarding Android Default Email Program Please help me out to answer the questions respectively
Thanks in Advance
1) How can we access the Device Database ?
2) How can we setup email on Emulator ?
3) Can we read Email Content Through Email Content Provider like ( AttachementProvider.java)
i have found in Git
4) ...
I am using color picking in opengl es on android and i am calculating a color key to compare it to the values i get from glReadPixels:
ByteBuffer PixelBuffer = ByteBuffer.allocateDirect(4);
PixelBuffer.order(ByteOrder.nativeOrder());
gl.glReadPixels(x, y, 1, 1, GL10.GL_RGBA, GL10.GL_UNSIGNED_BYTE, PixelBuffer);
byte b[] = new byte[4];
P...
I'm trying to develop an RPG for Android, so I need to paint a scenario where i'll move my character.
My idea is to do it 2D. I've developed 3D games and Java games for desktop, but in Android i don't get how to star the scenario.
Coul'd it be developed whith a matrix of information, so I coul'd know where my character steps?
Thank yo...
How do I create a button in the surface view? I added a button in surface view but it is not displayed. Please suggest a solution.
...
I am using the following android fb connect library.
http://github.com/facebook/facebook-android-sdk/
problem is after successful login, if you logout and then click again on login button it open window asking for username and password but it already displays login and password of previous user. i think it is store login and password i...
Hi all,
I'm trying to search application for searching a contact based on the Contact name in Android contacts book. I have gone through Quick Search Dialog box but i could not understand how to query Contacts database to search a contact.
Please help how to implement this contact search !!
...
hi stackoverflow team
I want to know that 100MEDIA folder in the DCIM is created byDefault or not. when i save the Image byDefault where it will stored.
...
I'm testing my app on different AVD setups in the emulator and ran into problems with zoom controls in MapView on Android 1.6 using QVGA resolution only (lcd.density=120).
When tapping on the screen so the zoom controls are displayed, the zoom in/plus sign is displayed much larger than zoom out, which seem to have the correct resolutio...
(sorry, My English isn't good.)
I want to mute Ring-back Tone.
I want to hear my favorite music.
I want to mute the receiver's ring-back tone.
How do I mute RingBack Tone(Receiver's)?
AudioManager?
Mediaplayer.setStreamType?
AudioManager.setStreamMute(AudioManager.STREAM_VOICE_CALL,true);
AudioManager.setStreamVolume(AudioManager.STR...
Hi,
I am developing an application that needs to capture a barcode Image using Camera of the phone and scan the Barcode of that Application and return us its value.
I have seen an application called ZXing in Internet.I got the corresponding .apk file of that app and also its source.But I am not able to find how to implement that API in m...
Hi, I want when a user clicks a row, that row grows to show more items with an scale animation, but I can't find how can I do that.
First: I don't know how can I change a height row at runtime. I've tried making the items visible, but this didn't work even if I inflate with another XML layout.
Second: If I achieve the first one, I think ...
I have an android application(Android 2.2) accessing internet behind proxy.
I have tried setting an APN with proxy host & port and it works fine in emulator browser.
But the application fails to connect to internet.
I have also tried command line option of -http-proxy, it doesn't work.
Can somebody help me with it?
...
How my application is structured...
Class A extends Activity {
Button cButton = (Button) findViewById(...);
Button dButton = (Button) findViewById(...);
//invoked when cButton is clicked
methodButtonC() {
//Here I want to go to the activity of class C and this is how I have tried to solve it...
Inten...
hi,
For my design i have in the xml file something like:
The design is like a row that have two cells. I want one of them to be autosize and fill the row and one of them to have fixez size. I want that the second linearlayout to wrapp its content and the first one to fill the rest of the space.
Something like in css ...
Hi,
I have created a ListView and applied a selector to it as follows
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/my_btn_pressed" />
<item android:state_focused="true"
android:drawable="@drawable/my_btn_focussed" />
<item andro...