I am using the WCF Collection Service in asp.net,
Just to learn I am using the SampleItem.
The xml looks like this in the web browser:
- <ItemInfoList xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ItemInfo>
<EditLink>http://localhost:8080/Service.svc/A</EditLink>
- <Item>
<Value>A</Value>
</Item>
</ItemInf...
I tried some examples of Rokon graphics library.
They are working fine on emulator but not running on device, they are getting installed properly.
The application opens and then closes without any error message.
I get the following system errors in emulator, but still application runs properly on it.
09-16 12:24:03.640: ERROR/Rokon(79...
Hello,
I want to import and compile FBReaderJ on eclipse. I have downloaded the latest source code from their website. Is it necessary to install NDK and cygwin for compiling FBRreaderJ.
If you can suggest me any tutorial OR helpful link.
FYI:
OS – Windows vista
Eclipse – [Helios 3.6]
Android OS – 1.6
...
Hi,
I am trying out an example of OpenCV from http://github.com/billmccord/OpenCV-Android and am stuck at the point where it is mentioned "Before attempting to run the VideoEmulator application, you must first copy this XML file into the emulator in the following location: /data/data/org.siprop.opencv/files/haarcascade_frontalface_alt.xm...
Hi all,
I created an animation in an xml file.
I apply it on a textview like this :
Animation anim = AnimationUtils.loadAnimation(this, R.anim.exit_about);
anim.setRepeatMode(Animation.RESTART);
anim.setRepeatCount(Animation.INFINITE);
v.findViewById(R.id.global_about).startAnimation(anim); // v is my view
This runs once even i...
Hi,
I am trying to build android example app by using phonegap. Here are the the system details.
Operating System : Windows XP
Android Sdk : 1.5 ( Previously i had 2.2 but deleted suspecting problem was with that)
Ruby : 1.9.1-p430
Ant: 1.8.1
Java JDK 5
PhoneGap 0.9.1
System Enviroment Variables
ANDROID_HOME : D:\work\android-sdk_r3-wi...
Hi,
I'm currently working a project to investigate the secuirty inherit with Android. A part of my project is to perform an overflow of the stack and execute a local shell.
I've created an exploitable application in native c, that is dynamically linked, installed it and executed it.
I'm having trouble using GDB. I want to know the l...
Hi Frnds,
I am using TabWidget. It comes with the default grey background color. Is it possible to change this? If it is then please tell me how can I do this??
Thanks
Sankar Ganesh
...
here is my code in which imageview onclick method.
public void onClick(View v)
{
File in = new File("data/data/com.avisun.fileaway/files/"+Photoname);
uri = Uri.fromFile(in);
Intent intent = new Intent("com.android.camera.action.CROP");
intent.setClassName("com.android.camera","com.android.camera.CropImage");
...
I am attempting to use the Tom Gibara code to provide access to my webcam from an android app running in the emulator.
If I run webcambroadcaster in the Eclipse ide the console window reports that it is grabbing frames. I am using Windows 7 and if I view the task manager screen I can see that under Processes there is an entry for java...
I am pretty new to Android and very new to Multithreading.
I am writing an android application that contains multiple activities that implement onClickListners which sends a Bluetooth message on button click to . I have successfully been able to connect and keep my BluetoothSocket and OutputStream open while in one activity. I do not do...
I want insert the current date and time into my table....
I used this query
insert into tbl_reminder values("Description",current_timestamp);
but it insert the wrong time...
actually the timestamp in my emulator is 2010-09-16 18:40:06
but the inserted timestamp value is 2010-09-16 13:10:06
what i do to insert the exact time...
...
Hello. I have an Activity which contains a ListView defined in XML (its not subclassing the ListActivity class).
I want to display a message when the ListView is empty, so I tried doing so with the setEmptyView method:
listView = (ListView) findViewById(R.id.list);
TextView emptyListText = new TextView(this);
// also tried with the fol...
Hi Friends,
I am developing an application for an image gallery. I am using the share option in my application. The share option function is share image in SDcard, for example particular image I share, that image store in sdcard. When the user clicks the share button that time image will store in SDcard, images are retrieved from a url....
Hi,
I am new at android developing.
The project is about implementing an AbstractAccountAuthenticator with an AbstractThreadedSyncAdapter to sync certain data on a server with a content provider.
I made everything and both adding accounts and syncing is running without any problems.
Now I've tried to add a Preference-Screen just like...
I have a class that extends ItemizedOverlay.
In it, I have:
@Override
protected boolean onTap(int index) {
OverlayItem item = mOverlays.get(index);
/*// working below code, just replace */
AlertDialog.Builder dialog = new
AlertDialog.Builder(mContext);
dialog.setTitle(item.getTitle());
dialog.setMessage(item.getSnippet())...
Can I have random file access to a file bundled in my Android aplication? I don't want to copy the file from apk to the sdcard.
...
I have the following layout:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<GridView
android:id="@+id/grid"
android:layout_width="fill_parent"
android:layout_height="...
I write file to sdcard using BufferedWriter.After that I want to overwrite header of file,but other data must be without changes( In the header I must add size of file). So I think I must change position where I need write.
How can I do that?What function should I use?
...
I'm a relative beginner with Android. Does anybody have a sane explanation for how to listen for keys and soft keys in an EditText/TextView?
I'd love to see a comprehensive tutorial or set of examples.
As I understand it, I can add a KeyListener to my Activity, e.g. onKeyDown(), onKeyUp() but when I try this I can't trigger the events ...