HTC Desire :: Error Accessing Remote Resource
Jul 2, 2010
New problem *sigh* getting to be quite annoyed with HTC/Android. Gone from excitement to frustration.I have Google apps for my domain with a custom email matt@mydomain.com (example)I use Exchange ActiveSync to access my emails, calendar and contacts on my phone.I have been having the same frustrations of others when things stop syncing but this is usually fixed by either putitng in a wrong password and then the right one or by removing the Exchange ActiveSync account and then readding it. Unfortunately this how now ceased to work. Yesterday afternoon my phone stopped syncing email and showed the little circle with arrows icon with an exclamation next to it. I left it overnight thinking it might have been a Google glitch or something rather than the phone but its still not working now getting close to 24 hours later.I have tried putting a wrong password and the the correct one and it still fails to sync (calendar works etc)I have tried several times removing the account and the readding it again but it still fails to do mail. Instead a little message shows at the bottom of the screen saying "Error accessing a remote resource". I google searching this on the web and also on this forum and found no results of any value or help
View 3 Replies
Mar 7, 2009
Is there a way to access a raw resource file by having its filename in a String? According Google's documentation, I need to use "Resources.openRawResource (R.raw.myDataFile)". This requires that I have the file name at compile time, but what if I have 20 or so files and want to do something to a specific file by passing its file name at runtime?
View 6 Replies
View Related
Nov 19, 2010
I have several Droids in my company and I wanted to find out if there is an application that will allow me to remotely access a phone from my desktop or from another phone. I want to be able to manipulate the phone remotely, i.e. start applications, install applications etc. I want to be able to do this over the air.
View 1 Replies
View Related
Apr 27, 2010
I ran into a problem with remote services. after i started and bound my service, i want/need to access it's functionality.
This works just fine if i work with buttons and onclick-controllers just as in http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/RemoteServiceBinding.html.
But actually, i need to access the services functions DIRECTLY after binding the service, like:
CODE:......
If i access the service function "getDataFromService()" in an onClickListener, it works perfectly. how do i access the services functions directly after binding/starting the service?
View 1 Replies
View Related
Sep 17, 2010
Is there any way for us to store remote image in apk resource folder. I developed one application for showing list of images.user have interaction with the images. Now I done this by place image before packaging. Now I want to supply image from remote server. Which way is better and how to do?
View 2 Replies
View Related
Apr 25, 2012
i am consuming a Wcf service from Android. i am a bit new to Android Dev most of my problems i was able to resolve. this one caught me off guard. My wcf service is defined as follows
Code: public List<MemberModel> Helloworld(string number)
{
List<MemberModel> lstnames = new List<MemberModel>();
MemberModel model = new MemberModel();
[Code]....
View 1 Replies
View Related
May 24, 2010
I got "no resource found that matches the given name(at 'id' with value @id+/textview')" my main.xml file looks like this: <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android=" http://schemas.android.com /apk/res/android" android:id="@id+/textview" android:layout_width="fill_parent" android:layout_ height="fill_parent" android:text="@string/greetings"/> Any idea what I am missing? You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+ unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com /group/android-developers?hl=en
View 3 Replies
View Related
Jul 16, 2010
I am new to android, I try to create layout so that I have background image, and have a ImageView with animation start from bottom right of screen and along with a TextView stay on top of this ImageView. (Hope my describe make sense).
My problem is when I try use "android:layout_above="@id/flyobject"", the eclipse alway say: error: Error: No resource found that matches the given name (at 'layout_above' with value '@id/flyobject'). But as for sure I have defined flyobject, and I can find it's in my R class.
Here is my XML file:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android"android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:id="@+id/background"android:src = "@drawable/background"android:layout_width="fill_parent"android:layout_height="fill_parent" android:scaleType="centerCrop"/>
<TextViewandroid:id="@+id/flytext"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_above="@id/flyobject"/>
<ImageViewandroid:id="@+id/flyobject"android:src="@drawable/asteroid01"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_alignParentRight="true"android:layout_alignParentBottom="true"/> </RelativeLayout>
View 3 Replies
View Related
Nov 13, 2010
My eclipse is not creating gen folder and android compilation creates error missing required gen folder.
View 3 Replies
View Related
Apr 25, 2014
I am extremely new in Android development and ADT.. I was working on trying to create my first `HelloWorld` in ADT but something messed up so I deleted all the files and folders and started a new project from scratch..but I am not able to debug this new project. I tried to create another project but everytime I am getting this error:
[2014-04-25 14:12:39 - App1] invalid resource directory name: /Users/Android_Mac/appcompat_v7/res/Icon
[2014-04-25 14:12:39 - appcompat_v7] invalid resource directory name: /Users/Android_Mac/appcompat_v7/res/Icon
There was an 'Icon' file in appcompat_v7..which I have deleted but the problem is still persisting
Also whats the use of `appcompat_v7`? i did not create it..
View 1 Replies
View Related
Aug 9, 2010
The problem with NinePatchDrawable. Created 9.png file using a utility draw9patch, but when the throw the file in a folder res/drawable error: No resource found that matches the given name.
View 4 Replies
View Related
Sep 15, 2010
I use this method couples of occasion to load text file to display as help file. But I don't know why the following code didn't work. It seems to hang and logcat says "OutOfMemoryError"? All I did was break this out as an separate activity.
---xml---
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/helptab"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView android:id="@+id/helptext"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</ScrollView>
---code---
import java.io.DataInputStream;
import java.io.IOException; import java.io.InputStream;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class Help extends Activity {
/** Called when the activity is first created. */
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.help);
InputStream iFile = getResources().openRawResource(R.raw.help);
try { TextView helpText = (TextView) findViewById(R.id.helptext);
String strFile = inputStreamToString(iFile);
helpText.setText(strFile);
} catch (Exception e) {
} }
public String inputStreamToString(InputStream is) throws IOException {
StringBuffer sBuffer = new StringBuffer();
DataInputStream dataIO = new DataInputStream(is);
String strLine = "";
while ((strLine = dataIO.readLine()) != "") {
sBuffer.append(strLine + " ");
} dataIO.close();
is.close();
return sBuffer.toString();
}
View 6 Replies
View Related
Feb 3, 2010
I have a game in the market and with flurry analytics, I receive all my errors. Here are some of them: 01/31/10 01:47:39 PM PST 0 classjava.lang.IllegalArgumentException parameter must be a descendant of this view 02/02/10 12:40:41 PM PST 0 class java.lang.Illegal ThreadStateException Thread already started.01 /26/10 09:25:36 PM PST 0 class java.lang. NullPointer Exception 1.0 (beta) uncaught Android 02/01/10 05:26:27 PM PST 0 class java.lang.OutOfMemoryError bitmap size exceeds VM budget 1.3 (beta) uncaught Android 01/29/10 10:23:10 AM PST 0 class java.lang.RuntimeException Adding window failed 1.0 (beta) uncaught Android 01/29/10 08:19:05 AM PST 0 class java.lang.RuntimeException Unable to start activity ComponentInfo{ digle.de. LeonardFrog/ digle.de.LeonardFrog.AHighscore}: ava.lang.NullPointerException 1.0 (beta) uncaughtAndroid 01/27/10 01:09:35 AM PST 0 class java.lang.VerifyError igle.de.LeonardFrog. AHighscore 1.0 (beta) uncaught Android I want to solve them but I need a logcat. There is the application "aLogcat" in the Market, which displays the logcat on the mobile, but I need the logcat of my users without telling them to download this app, because many people are lazy and won't do it. How can I get this logcat? Is there maybe a library, which sends me the logcat on error?
View 5 Replies
View Related
Jun 3, 2009
I've been trying to include standard android icons in a menu XML file, as described in Android Icon design guidelines. However the build fails with the following errors : [2009-06-04 00:00:31 - Laser] W/ResourceType(16578): Bad XML block: header size 2475 or total size 0 is larger than data size 0 [2009-06-04 00:00:31 - Laser] /home/niko/dev/workspace/Laser/res/menu/ main.xml:4: ERROR Error: Resource is not public. (at 'icon' with value '@android:drawable/ic_menu_play_clip'). [2009-06-04 00:00:31 - Laser] Unknown error: The only threads I could find with this error were about rebuilding android platform xml files. Any idea about what I could have missed?
View 5 Replies
View Related
Aug 6, 2010
So after being dumb and installing the 2.1 leak I finally got root! Yay! But now of course my trackball is acting up really badly and I want to unroot to try to get it swapped out at Verizon. I've followed jcase's instructions successfully up to the fastboot command section. I'm getting and error "Failed (remote: not allowed)". Obviously I am in fastboot mode on my phone. Phone's screen shows
PB00100 XC SHIP S-ON
HBOOT-1.49.0000 (pb0010000)
MICROP-0111
TOUCH PANEL-MELFAS_45_17
RADIO-2.32.40.11.09
Feb 8 2010,00:08:56
FASTBOOT USB
<VOL DOWN> HBoot Mode
I am still able to access Anon's Recovery. Any thoughts?
View 5 Replies
View Related
Sep 6, 2010
When I make a new android project and I go to res/values/string.xml I get a screen to add android resources instead of a XML document. I keeps getting the error about : java.lang.NullPointerException.
Is there a way to just alter a XML file (like suggested in tutorials)?
View 2 Replies
View Related
Jun 28, 2010
I am doing monkey test for my application, and I meet Remote Exception many times. I don't know why remote-invocation errors occurs. Has anyone experienced such exception?
Monkey Log snippet:
:Sending Pointer ACTION_MOVE x=-1.0 y=-3.0
:Sending Pointer ACTION_DOWN x=322.0 y=77.0
:Sending Pointer ACTION_UP x=322.0 y=77.0
:Sending Pointer ACTION_DOWN x=299.0 y=488.0
Error: RemoteException while injecting event.
Events injected: 11088
:Dropped: keys=0 pointers=2 trackballs=0 flips=0
## Network stats: elapsed time=1511978ms
(1511978ms mobile, 0ms wifi, 0ms not connected)
System appears to have crashed at event 11088 of 56000 using seed 25194847
View 5 Replies
View Related
Aug 27, 2010
Does anyone know if there is a app, or phone mod that allows you to access the SD Card on the phone, at the same time as it's being used as a drive.I'm getting tired of transferring things like icons, and wallpaper to my phone, then having to unmount the drive before I can use them. Especially if I'm just trying out new icons.Is it possible to have my desire set to disk drive, and access it at the same time?
View 3 Replies
View Related
Aug 3, 2010
I have an XML resource file:
<resources> <section>
<category value="1" resourceId="@xml/categoryData1" />
<category value="2" resourceId="@xml/categoryData2" />
<category value="3" resourceId="@xml/categoryData3" />
</section> </resources>
Using XmlPullParser, on the START_TAG, I can use:
int value = parser.getAttributeIntValue(null, "value", 0);
to get values 1, 2, 3...however:
int resourceId = parser.getAttributeIntValue(null, "resourceId", 0);
doesn't work...it just yields the default value 0, or whatever I change the default value (3rd parameter) to be. Does anyone know what I am doing wrong or if this is possible?
View 1 Replies
View Related
Jun 12, 2010
Has anyone had experience of a decent how tracking app that can activate the god (if turned off) remotely by sms (that actually works)?Also if it can remote data wipe too, a bonus.Anyone have any recommendations?I had instamappa on blackberry but swapped to egps when insta told me they wouldn't hide the app starting up.Neither could remotely activate but battery wasn't as much oh an issue back then
View 2 Replies
View Related
Feb 16, 2010
I'm trying to debug an android app that call native code to do some GL rendering. The native code is existing code that I'm trying to port (and that I don't really know that well). I've got the existing code compiling, linking, and installing correctly, and I've got some native functions that call in to that code that are being correctly called from my Java code. I'm getting a segfault that I'm trying to track down, and having some problems getting gdb to set a breakpoint in the program. This is on windows XP with Cygwin - and I should probably mention I'm still learning gdb.I started with the directions at http://honeypod.blogspot .com/2008/01/debug-native-application-for-android.html; here's what I'm currently doing.Start the app in the emulator.In a cmd prompt:
> adb forward tcp:1234 tcp:1234
> adb shell
# gdbserver localhost:1234 --attach 2120
gdbserver localhost:1234 --attach 2120
Attached; pid = 2120
Listening on port 1234
In a cygwin shell:
arm-eabi-4.2.1/bin/arm-eabi-gdb.exe out/apps/app-android/libDM.so
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf-linux"...
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
warning: shared library handler failed to enable breakpoint
0xafe0da04 in AppRefCounted::unref () at ../../stlport/stl/_iosfwd.h:39
39 class basic_ostream;
Current language: auto; currently c++
(gdb) b Java_com_app_AppRenderer_onCreate
Breakpoint 1 at 0xafff1b1a: file apps/app-android/../../../app-Android/jni/DMJNI/DMInterface.cpp, line 75.
(gdb) c
Continuing.
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0xafff1b1a: Input/Output error.So it looks like the breakpoint gets set ok, and that the symbols are ok, but maybe the address is wrong when it tries to insert the breakpoint. I've tried several variations of different commands from the webpage referenced above, but so far, no luck.Any ideas what's going on?
View 1 Replies
View Related
Jun 3, 2010
I'm really close to buying a Desire. The only thing stopping me is the lack of a proper remote control for pausing and skipping songs. I know the earplugs in the box have such a remote, but using those earplugs are out of the question. Something like this is what I want. Anyone know if it's compatible with the Desire? Or if such a thing exist that works on the Desire? DealExtreme: $7.01 3.5mm Stereo Audio Adapter with Microphone for HTC S1/Diamond/Dimond2/G1/G2 (70CM-Length) I'm actually considering modding the earplugs that come with the phone, by replacint the plugs with a female 3.5mm jack. Anybody tried that? Also, please no Bluetooth suggestions. I'm just looking for a wired solution.
View 4 Replies
View Related
Jul 26, 2010
added a quick demo video of our upcoming Android Infrared (IR) Remote.Initially it will support a full IR dbase of 300,000+ IR codes, IR learner for any code not in the dbase, Pre-Built GUI so it is simple to setup. Will add rs232, relays, and other tcp options also after initial release.
View 5 Replies
View Related
Jul 23, 2010
I've been using my Desire with normal headphones for a couple of weeks and have just tried the supplied ones with the remote control. I use Google Listen quite a bit and was downloading a podcast with it earlier. The problem comes when I try and listen to something on the media player - the << and >> seem to control both applications at the same time, so I have podcasts and music playing together! It also creates big delays in the reaction time to the controls creating clips from both apps being played randomly. Am I missing something or is the only way to do to 'force close' Google Listen in applications first?
View 1 Replies
View Related
Feb 27, 2013
I got a Nexus 4 recently and I have retired my HTC Desire Z (G2).
Since I have a 32GB MicroSD card in my Desire Z I want to use it as a MP3 player in my car.
I have it plugged in via aux and power. I have installed tasker and created Profiles to start and stop music when I turn on/off my car.
So everything is great until I want to skip the song. Any way to control the music playing on my Desire Z from my Nexus 4?
View 2 Replies
View Related
Aug 1, 2010
Looking for an App to remote to my desktop.I am trying to see if I can access magicjack on my desktop and make true voip calls.
View 2 Replies
View Related
May 11, 2010
I have created my gold card, copied the rootedupdate.zip to the root of my SD card. Switched the phone off, hold down the back button and switch on. i then go through the process of updating the ROM , it gets the point of updating the signature and then i get a message: Error[131]:CUSTOMER ID ERROR
View 2 Replies
View Related
Oct 8, 2010
I just got an HTC Desire that was locked to Telus (Canadian Carrier). I have read that numerous people are using it on Rogers network. From the day I got it when I put my rogers sim card in (the right way) it said "No SIM card in phone" so I could not enter an unlock code. Thinking the SIM was defective went to Telus and tried one of their sim cards and it worked fine, then I went to Rogers thinking it was a problematic card. We tried 4 cards and none of them worked. I then went to Bell (another canadian carrier) and tried their sim card. It worked as well but said that the phone was locked. I purchased an unlock code from the internet which worked. Now the Bell sim card works as well becuase the phone is unlocked. I put my Rogers SIM back into it and it still sais "No SIM card in phone". I also tried a SIM from a european company and it did not work as well. This HTC Desire works on the same 3G 850/1900 GSM that Rogers uses.
View 7 Replies
View Related
Sep 8, 2010
Im on my second phone through US Cellular the problem I have is that I get a error message ,whenever I get an incoming text concerning my contacts back up
View 1 Replies
View Related
Sep 30, 2010
Just updated to 2.2 froyo on an O2 Desire.Everything went smoothly except that my exchange is no longer syncing.I tried removing the account and adding it again but to no avail.Anybody identified the exact problem?I've tried everything.
View 3 Replies
View Related