In my application, i have created tab layout, which contains 6 tabs each tab has their corresponding one or more activies. But in one tab i just want to create iphone like segmented controls.
i have already tabs on the top of my screen but below the tabs i need segment type of controls..IS it possible in android,first and it is.. then ho...
Im running eclipse on my windows 7 machine, 6bit with 6gb ram and core 2 duo.
Im currently running Eclipse 3.6 and android 2.2 SDK
Im running jdk 1.6
Im noticing that when coding and the context popups to list methods of a class, it hangs Eclipse for up to 15 seconds. This is very frustrating.
One thing to note, when Eclipse hangs, my ...
i want to adding a watermark image and text to another image in android,the effect look like office word ,could everyone give me some give directions , Code snippets,or link and so on.i do:
public class testWatermarkImage extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedIn...
I have recently experimented with creating an easy way to open a ProgressDialog up in a second thread, so if the main thread freezes the dialog will keep working.
Here is the class:
public class ProgressDialogThread extends Thread
{
public Looper ThreadLooper;
public Handler mHandler;
public ProgressDialog ThreadDialog;
public Cont...
I have a webview in my activity and loaded contents for webview by following:
webview.loadUrl("file:///android_asset/description.html");
In description.html i have a reference for another html file located in the same place by following:
<a href='file:///android_asset/uml.html'>see UML diagram</a>
This was working absolutely fine i...
I am trying to load BROWSER VIEW intent in android within onTouchEvent. Basically i have create a live wallpaper and if i click on it then i want to open BROWSER VIEW intent with a specified uri.
i have tried following code inside onTouchEvent
Uri uri = Uri.parse("http://www.google.com");
Intent intent = new Intent(Intent.ACTION_VIEW,...
Hi folks
when user click on url link i want to install apk file from server.
please guide me how to do i searched on net i am not getting corresponding info
Thanks in advance
Aswan
...
Hey everyone,
i have problem with a Gallery. I can't scroll via touch. Scrolling via DPAD or trackball works fine.
Here is some code:
The xml layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:...
I want to perform a smooth movement of a picture when user scroll it.
So which one is better if my FPS is >60 ??
...
I have made a pedometer application... i wanted to know how to test this application on an emulator as i am not having an android device
...
Hey! Im looking for an OpenGL library/framework to handle basic drawing code etc for me. Otherwise im also looking for some NDK and OpenGL ES tutorials, I cant seem to find anything out there!
Any information would be helpful cheers.
Adam
...
I've released an app about a month ago now, and it works as it should on my Desire and presumably on a lot of other phones. However it is also receiving it's fair share of 1 star ratings with comments that say that the sound simply doesn't work. Given that this is an app to play sounds and alarms that's a pretty major problem.
Thankfull...
Hi folks
i am new to android .i want to develop 2d games in android.i searched for that i am not finding good tutotial on that please help with books and good tutorials
Thanks in advnace
Aswan
...
Hello,
I own a Samsung Corby Pro, and I was looking for ways to port/install Android to it. Can some one please tell me if it is possible or not. If yes, please point me to some guide/tutorial on porting. I'll be really thankful.
Suresh
...
I know that the default is 30 minutes, however I am looking at making a game in a widget
This would require millisecond responses.... has anyone messed with the AlarmClock Timing that is described to use instead to achieve this? does it work well?
I haven't finished the Software Arc for the project yet because I see a lot of complaint...
I want to create a simple layout like the following:
(o) Radio button A
(o) Radio button B [textedit]
[x] checkbox
For that I've created the following layout.xml:
<RadioGroup
android:layout_above="@+id/RadioButton_Count"
android:id="@+id/RadioGroup01"
android:layout_height="wrap_content"
android:layout_width="...
To give the user of my app an indication which field currently has the focus I am trying to change the background color of some of my fields depending on the current state, however, I am having troubles understanding Androids Color State List Resources:
There is this example at the bottom of http://developer.android.com/guide/topics/res...
Good Morning,
I have a ListView that with alphabetical headers for each letter. I also have an index function that brings the letter headers to the top of the screen.
My problem is when I reach the end of the list setSelection is unable to bring the last few headers to the top because it will not scroll past the end of the list.
My...
Hi,
I am trying to determine when to ask the user to calibrate their device. Specifically the sensor TYPE_MAGNETIC_FIELD. The event callback is called repeatedly and always with the same value of accuracy = 3 (high accuracy). I have waved a magnet over the device and really confused the sensor but still I get high? This does not sound r...
I have made a simple Android app with a pin-code/screen lock. The user have to write a password to lock the phone and then repeat it to unlock the phone. The problem is that the user still can press back, home (etc) to exit the app without writeing the code. How can I prevent this?
...