Two issues with my Android programming, require some guideline
The way to save any visited webpage as html source file, then
The way to extract some useful text from those saved html source files
If these are possible, where should I get start for them
Thank you in advance .....
...
I am trying to pass data between two activities that are inside of tabs. I am trying to use the sendBroadcast. With breakpoints set I never reach the OnReceive.
manifest :
<activity android:name=".WebResults"
android:label="@string/app_name">
<intent-filter>
<action android:name="com.toxy.LOAD_URL" />
...
I have the following XML code for my CheckBoxPreference:
<CheckBoxPreference
android:key="pref_boot_startup"
android:title="Auto start"
android:defaultValue="true"
/>
But when I retrieve the preference in code the value is false.
sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this)...
Hi
I'm trying to create a headset stub in my Android app, so my app can get a "virtual" ACTION_MEDIA_BUTTON from it.
Any idea how can I do that?
thanks.
...
I want to play a ringtone selected from the RingtonePreference in a Service for a limited period of time (5 secs, for instance). What is the best way to do it? And is there a way to fade out the ringtone's volume when the ringtone is about to finish its playback within the allocated time?
...
There is no problem with portrait mode but when i try my app on landscape mode it doesn't look how it should.What is general aproach to solve this problem.My first idea is replacing X and Y places.If i am on the right track how should i do this ? Should i use an if statement at the beginning of the onDraw() function and write entire same...
I want to vibrate the phone in the same way as the incoming call in sync with the ringtone. How do I achieve it?
...
Hi,
I'm extremely new to Android and just trying to get my head around these layouts.
I've got several tabs which contain a LinearLayout with a TabWidget and FrameLayout as children. In the FrameLayout I'd like a certain percentage at the bottom of the screen to be reserved for a table, the rest above to be filled with an image.
How ca...
I add a listview via Java into @+id/View01.
For some reason the items in the listview don't accept clicks.
Does anybody have ideas about possible causes?
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:orientation="vertical"
android:layout_height="fill_parent"...
I've got a list of running processes from ActivityManager.RunningAppProcessInfo, like this:
ActivityManager am = (ActivityManager) getSystemService(Service.ACTIVITY_SERVICE);
List<ActivityManager.RunningAppProcessInfo> processes;
processes = am.getRunningAppProcesses();
for(ActivityManager.RunningAppProcessInfo info: process...
hey iam going to do some applications on mobile
using image processing applications
i was asking which will be suitable for me
as i will need a programming language that supports phonve devices with high
memory ,
what is the maxiumm number of ram size that has been released to work on phone
is there any name about the phone th...
Hi,
I'm developing a simple app for Android-2.2. What are some key features that can make the app not work for 1.6?
...
Hello all, i am trying to query my database so that it returns only rows with a specific value in a certain column.but when i run it, it still returns all the rows. please take a look at the code and see if i have done it incorrectly. I am trying to query for the string in the PRIORITY column. i want to display those specific rows in a l...
I'm not asking to be spoon fed here, just need some pointers on where to direct my searching
I want to call a SOAP web service, possibly this one
I don't want to use KSoap, is there anyway I can do this using the apache libraries that are included with the Android SDK?
...
I developed my first (small) Andoid application using Eclipse and are now ready to transfer it to my Galaxy S mobile device (develping for Android 2.1)
Following another thread in SE, I changed the run mode in Eclipse to manual in the hope that I would be able to chose my phone and/or AVD every time I run the program.
The popup list h...
I have a landscape layout that features a vertical LinearLayout of buttons on the left side of the screen and a user-defined picture on the right of the screen. The design I'm working from calls for a double-stroke border around it, which I implemented by creating a rectangular shape background with the border being the outer color and ...
Hi,
I am trying to use the KeyGuardManager to unlock the phone easily.
so far no problems the phone is unlocked and all is good. However when this code is executed later I notice my phone is behaving weirdly. until a I see the following message in the Logcat file :
WindowManagerService.mKeyguardTokenWatcher: cleaning up leaked referenc...
Hi All,
I have two questions as follow:
1) Can we embed mp4 file in android webview?
2) Can we also embed apk file in android webview?
thanks
...
I have a custom class called "Sound" with SoundPool, I want to implement the loading complete listener so that my activity can play an intro sound and display the "start" button once loading is complete.
How would I go about implementing the listener and then testing for the complete status from my activity to make sure everything is lo...
Whenever I run my program, I get this error:
10-11 17:53:12.135: ERROR/AndroidRuntime(403): at android.app.Instrumentation.newApplication(Instrumentation.java:957)
10-11 17:53:12.135: ERROR/AndroidRuntime(403): at android.app.Instrumentation.newApplication(Instrumentation.java:942)
10-11 17:53:12.135: ERROR/AndroidRuntime(403): ...