Android :: Smack API Giving Error While Logging Into Tigase Server Setup Locally
Jun 4, 2010
I am currently developing android XMPP client to communicate with the Tigase server setup locally.Before starting development on Android I am writing a simple java code on PC to test connectivity with XMPP server.My XMPP domain is my pc name "mwbn43-1" and administrator username and passwords are admin and tigase respectively.Could anyone please tell me the solution for this problem.I checked the XMPPConnection.java file in the Smack API and it looks the same as given in the link solution.
View 3 Replies
May 5, 2010
Using appbrain on my PC seems to work fine when I'm not logged in. When I do log in and try to click on an app I get this error message:
"Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it."
Anyone else have this issue when using Appbrain on their pc?
Well, It looks like I solved the problem. I just deleted my account and created it again and it's fixed (for now).
View 1 Replies
View Related
Feb 12, 2010
I would like to implement a functionality in my game to give some daily goodies. But user can easily abuse it by changing the date of the device again and again. I know this can be easily implemented through some server. Is there any way to handle it locally without the involvement of server or network connectivity?
View 2 Replies
View Related
Sep 20, 2010
At my campus, to get internet connection, I need to log on to a SSH server like they write:.you must manually log in to the firewall server, by establishing a pseudo-tty-less ssh connection to it. The following command can be used on most systems: ssh -T -l [username] [server-URL]I must be logged on to the server for as long as I want internet.Does anyone have any idea how to accomplish this on Android?I have a little experience in writing basic apps for Android, but not much with SSH, any help is appreciated.
/Update
Tried ConnectBot, but the server replies "You may only connect without a pseudo-tty!" at login attempt. I have no idea what "pseudo-tty" is, and I have looked in the settings of ConnectBot, there is no mention of this.
/Update2
Searched for any further info about the pseudo-tty-less function, in connection with OpenSSH. No luck so far, only a definition of the -T parameter which has no equivalent in ConnectBot.
View 2 Replies
View Related
Jan 17, 2010
My Gmail account works great, and I have my aol and yahoo acounts set up no problem (well the yahoo was a little problem but got it to work so thats all that matters). I have 2 other email accounts that no matter what I do I can not get them to work. One is my works email which is handled by a company called network solutions. I can get the incoming server setup fine but I can not get the outgoing to work. The other is my school email which is some sort of msn email account variation (username@email.itt-tech.edu which i log into through msn.com). I cant get anything to work for this accuont.
View 3 Replies
View Related
Feb 2, 2010
I dont what to give any background to activity when i leave this propery blank it gives me error, and i have tried using @null as a value but it shows black background.can any one guide how to make it transparent?
View 2 Replies
View Related
Jun 6, 2010
I know i am putting in the right info, even clicked the 'forgot password tab' to verify my login name and password. but it keeps saying i put in the wrong credentials. what should i do?
View 2 Replies
View Related
Sep 28, 2010
I am creating a few layouts with the root element being merge. inside the merge element i have a ScrollView containing a TextView. I am getting 2 errors: there is no resource to match the layout_below and layout above names i have put in.I have another layout xml file including very similar components, some of which also reference @id/headingLayout and @id/tabsLayout. Both of these XML layout files do not contain the component with name headingLayout or tabsLayout.Why is it that one layout file has no errors about these references and the other layout file does? What the crap am i doing wrong, the app will build and run like i expect, until i add this merge to another layout?I have even tried copying the xml from the working layout file, to find that it gives the same errors, something must be wrong with my new layout file. I have tried cleaning, rebuilding, opening/closing eclipse..
View 1 Replies
View Related
Sep 30, 2010
Am I going wrong anywhere here ? because this is giving runtime error. application stopped unexpectedly.
I may b wrong in syntax.
CODE:..................
View 1 Replies
View Related
Aug 21, 2013
I am new to android. i am try to compile android kernel 3.4.0 for HTC device.After running cross compile command,
"export CROSS_COMPILE=/home/jharvard/ndk-x86/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-"
when I run make clean command "make clean && make mrproper".It shows errors,
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found
View 1 Replies
View Related
Nov 18, 2009
When I add video source and video encoder, it gives error in recoreder.prepare() (prepare failed) while the same code is working only for audio. I am not finding what I am doing wrong.
setContentView(R.layout.camera);
preview=(SurfaceView)findViewById(R.id.surface);
previewHolder=preview.getHolder(); previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
recorder = new MediaRecorder();
String url = "/sdcard/dcim/test.3gp";
camera = Camera.open();
Camera.Parameters parameters = camera.getParameters();
parameters.setPreviewSize(352, 288);
parameters.set("orientation", "portrait");
camera.setParameters(parameters);
recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setOutputFile(url);
recorder.setVideoFrameRate(15);
recorder.setVideoSize(480, 320);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
recorder.prepare(); recorder.start(); Thread.sleep(100000);
recorder.stop(); recorder.release();
} catch (Exception e) { e.getMessage(); }
View 3 Replies
View Related
Jul 9, 2013
I have recently gotten back into developing Android applications. However, every time I try to run an application on my phone now, I get the error message - "Parse Error - There is a problem parsing the package."
Two years ago, I used Eclipse to develop projects, which is what I'm using now. Though, I had to reinstall eclipse and everything else. So it's a new setup but I believe it's the same general setup.
I can put my old .apk files on my phone, and they work fine. If I put any newly created .apk files on my phone, I get the parse error.
I also found that if I compile any OLD projects and then copy those onto my phone, that I get the parse error.
This leads me to believe I've got something set up wrong in Eclipse that my phone isn't liking.
I thought maybe it was the virtual device manager, so I've tried several combinations of virtual devices - 1.5, 2.1, 2.2, 2.3.3 - using any of them still gives the parse error when trying to run the applications on my phone.
By the way, all of these projects work in the emulator running through Eclipse, so I know they work.
View 10 Replies
View Related
Feb 22, 2014
Lately I have been trying to install a ROM on to my phone, but I cant get the files onto my SD card. Keeps saying, "Cannot copy item. The device has either stopped responding or has been disconnected.". I just rooted the phone about a week ago and figured I would change the ROM. Also tried unblocking the files but got nowhere. Also tried other ROMs, nothing is working. But I can transfer files to and from my SD card with no error.
View 3 Replies
View Related
Jul 22, 2010
Does anyone else have find their browser giving this error often while on WiFi? I have to disable and move to 3G just to get my connection back.
View 49 Replies
View Related
Sep 15, 2012
Running a Galaxy Nexus on Stock 4.1.1 (rooted).Last week, Play Store randomly started giving me the DF-BPA-09 Error when I wanted to download new apps. Old apps would update fine. I searched XDA and found that turning Google Sync Off and restarting the phone solved it. It worked once or twice, but the problem kept coming back.
Then read another thread that said go to All Apps > Play Store >Uninstall Updates and Clear Data. I did this, and now when I start Play Store, it permenantly gives me 'Server Error', with a Retry Button below it.I have Titanium Backup Pro, so tried restoring an older version, tried Freezing and Unfreezing the App, still not working.
DF-BPA-09 Error used to come, Cleared Play Store Data and now stuck at Server Error.
View 4 Replies
View Related
Apr 8, 2010
My youtube app that came installed on the phone already gives me an error when trying to play videos.
View 6 Replies
View Related
Sep 8, 2010
Is anyone else all of a sudden having problems with Yahoo mail not working and giving an authentication error when trying to re-add the account?
ETA: I just found that these settings work but I have to disable WiFi which is total BS
For Incoming Server Settings set the IMAP server to imap.mail.yahoo.com and the Port to 143
For Outgoing Server Settings set the SMTP Server to "smtp.mobile.mail.yahoo.com and the Port to 587
View 2 Replies
View Related
Jun 27, 2012
Im here because of my problem with SGA 2.Few days ago I bought ACE 2 and I found few problems with "external_sd".So the problems are
1. When I try to create folder it gives me error "Creation failed"
2. When trying to move folder from internal memory to external sd it gives me error like "Moving failed", while copying goes fine.
3. I can move/copy any file to sd card, but sometimes those files got corrupted, gives me error about memory when trying to open pictures, same problem when saved camera saved photo to sd card. Even getting error when trying to play video.
APK files got corrupted too.
4. When I have moved apps to sd card some while apps work great, but after some time cant launch apps because it gives me error about that app doesnt exist.
I tried formatting sd card with pc and android.
Factory reset.
Repartition to same firmware with Odin.
Wipe cache, wipe data.
I dunno what causes those error, bugs, glitches. Is it phone or android sytem?
Tried many sd card and always got same errors. But when I mounted mine sd card to another phone it worked perfect.
View 2 Replies
View Related
Oct 31, 2010
I am working on an Android app but I keep getting a Leak Found error. Here's the Call Stack:
11-01 11:26:47.087: ERROR/Database(7317): Leak found
11-01 11:26:47.087: ERROR/Database(7317): java.lang.IllegalStateException: /data/data/com.noshufou.android.su/databases/permissions.sqlite SQLiteDatabase created and never closed
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1792)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:798)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:857)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:850)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:535)
11-01 11:26:47.087: ERROR/Database(7317): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
11-01 11:26:47.087: ERROR/Database(7317): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
11-01 11:26:47.087: ERROR/Database(7317): at com.noshufou.android.su.DBHelper.<init>(DBHelper.java:28)
11-01 11:26:47.087: ERROR/Database(7317): at com.noshufou.android.su.UninstallReceiver.onReceive(UninstallReceiver.java:10)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2637)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.access$3100(ActivityThread.java:119)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
11-01 11:26:47.087: ERROR/Database(7317): at android.os.Handler.dispatchMessage(Handler.java:99)
11-01 11:26:47.087: ERROR/Database(7317): at android.os.Looper.loop(Looper.java:123)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.main(ActivityThread.java:4363)
11-01 11:26:47.087: ERROR/Database(7317): at java.lang.reflect.Method.invokeNative(Native Method)
11-01 11:26:47.087: ERROR/Database(7317): at java.lang.reflect.Method.invoke(Method.java:521)
11-01 11:26:47.087: ERROR/Database(7317): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
11-01 11:26:47.087: ERROR/Database(7317): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
11-01 11:26:47.087: ERROR/Database(7317): at dalvik.system.NativeStart.main(Native Method)
The problem is I don't use a database anywhere in my code.EDIT:Here is the code snippet of the whole program. Also I only get this error sometimes and sometimes I don't which is another weird thing. Here is the main Activity:public class SetAlarmUI extends Activity {TextView mTimeDisplay;Button setAlarmButton;
private Calendar time;
private int alarmHour;
private int alarmMin;
static final int TIME_DIALOG_ID = 0;Toast toast
View 2 Replies
View Related
May 23, 2010
I'm new to android application development.I want to transfer the data between the client and the server.. As of my knowledge for transferring the data from client to server we use HttpClient protocol.Is this protocol is same as REST web services?If i want to send the data in the form of JSON format,then what are the necessary steps that i need to follow?And on the server side what are the steps to receive and parse the data?
View 10 Replies
View Related
Apr 21, 2010
So far Ive managed to download and install the SDK and its in my PATH. Problem now is that I can't run "android update sdk" since it expects to be connected to a display and Im connected to a remote headless server through ssh (its a build server so there's no desktop env). Is there a command-line option for the android tool that tells it to run without X ?
View 3 Replies
View Related
Jun 20, 2010
I'm at a loss trying to get Astro to communicate with my Windows XP home computer. I downloaded the SMB module for my MotoDroid, but am not really clear on how to configure my Windows Networking settings and what exactly needs to be entered in Astro's configuration settings. Is there a guide on how to do this on the web?.. if so, I haven't been able to find it.
View 24 Replies
View Related
Apr 25, 2010
Can n e one let e know if i can set up my exchange server (office) on the phone.
View 7 Replies
View Related
Nov 27, 2009
I have searched all over. Moxier seems to work great for those that can get it to work. I am trying to get it to work with my personal email account on roadrunner. Regardless of what servers/settings I use, it still says to provide detailed server information.Anyone have any luck setting this up? I don't want to pay for an exchange program as the entire reason I went from a Centro to Moment was to be able to push emails and contacts back to Outlook. Can anyone help? I don't want to trade this back under the 30 day program as I don't know if the Pre will work or not. I don't know of any other phones that have the features this one does.
View 2 Replies
View Related
May 13, 2010
I got my Incredible on April 29th and setup my Exchange email account and was able to send and receive with no problems. Contacts and calendar synced with no problems. Everything was fine for about a week then I noticed I was no longer receiving emails. I could send with no problems and contacts and calendar still synced ok, I just could not get emails using wither WiFi or Verizon's network. I went into the account settings and activesync settings and see an error message that said "error occurred on the computer running the exchange server". Deleting and recreating the account on the Incredible seems to work, but for only about 7-10 days then right back in the same boat. I do not think the phone is the issue as I had a Droid and had the almost identical problem.
On the Droid I did not see the error message but I would stop receiving emails after about a week. I have tried Touchdown and it's almost the same issue, except that the error is something along the lines of "mail queued on the server". Again, removing and reinstalling the account in Touchdown resolves the issue for about another week. I called our corp help desk folks and it was a wasted phone call. All I got from them was we don't support mobile devices via activesync and wouldn't talk about it anymore, so I am leaning toward something on our mail server causing the issue. My only problem with that answer is that we also have other users here with iPhones and Windows mobile devices and they are not having any problems, and they are also connected via activesync.
View 25 Replies
View Related
Nov 30, 2010
I recently purchased the Samsung fascinate which runs android 2.1 (eria) and found online before i bought it that the phone could support 2 exchange server emails. i have set up my first email through the setup and selected exchange as the server. now the problem arises, when i go into link up my other exchange email account i enter in the info then click automatic setup, it brings me to manual setup automatically everytime and wont allow me to select exchange as the server. it only gives me the options of imap and pop3, neither of these thus far will work and link my second email, i called my it dept and got the port numbers and all that when entering them into the imap and pop3 setup but it will not work. is there anyway around this or how do i setup to exchange server emails on this device.
View 1 Replies
View Related
Dec 8, 2009
For the past two weeks, I am working to create an application ,which is used to communicate with all Messengers in android. I am using Smack api for that, and now I can able to connect to the GTalk.Now trying to connect it to the Yahoo messenger. But it is throwing some exception. I want to know whether we can create Yahoo IM client using smack api or not. If possible please give the list os IM clients supported by Smack api.
View 1 Replies
View Related
Dec 3, 2009
I am working on a XMPP client on Android, using the Smack library. The roster/messaging/presence stuff is running very well. However, I didn't find a way to store additional profile information (userpicture, the dogs name, ...). The only way I see from googling is using VCards. But it simply did not work. I tried the following:.................
View 3 Replies
View Related
Oct 25, 2009
I'm a developper based in the US that recently released a pay-for app in the market called "AmBu". Googlecheckout is the merchant account I am using (the only one approved by the market it seems).
Two customers were able to purchase my app from a foreign country (Europe).
However, when I'm trying to buy my own application from the US (using my G1 phone) using a valid debit or credit card number, I consistantly get a "server error" during the purchase process. I suspect I'm not the only one and I'm losing customers.
What is the right structure at google to help resolve this ? In the market blogs, I've seen few posts of people facing the same issue but nothing to help resolve this was detailed.
View 4 Replies
View Related
Apr 8, 2010
i recently brought the xperia x10 and i can not add my hotmail account it keeps coming up with unable to open connection to the server. i was able to add my gmail account though.
View 9 Replies
View Related