I'm going to create mobile application that works with CommuniGate Pro server.
For example, I need to make the following Android Client C - CGP Server S conversation and get XIMSS.nonce node value:
C:GET /ximsslogin/ HTTP/1.1
Host: myserver.com
Content-Type: text/xml
Content-Length: 42
<XIMSS><listFeatures id="list" /><XIMSS>
...
I'm trying to provide my users with the ability to use either external or internal storage. I'm displaying both images and videos (of a scientific nature). When storing the media on the SD card, all is fine. But when I store the media internally, only the images will display. No matter what I try I get various errors when trying to load ...
Hi all!
I'm having trouble displaying SOME images on my android app. Just normal display image from certain URL. Some images works, some just doesn't work. For instance try displaying this image from URL:
http://img191.imageshack.us/img191/7379/tronlegacys7i7wsjf.jpg
It doesn't work. Doesn't even work in emulator.
Could it be the EXI...
Hey Everyone,
I was wondering if any one had compiled a list of the most commonly used Android devices so I can get an idea of what I should test for. Even better would be suggested configurations for emulating each device.
Thanks,
Rob
...
Hello, Can you help me
I want to connect my Motorola droid to OBDKey by bluetooth. I use Bluetooth Chat as for example to bluetooth connect, KWP as protocol
Then I write byte[] command
command[0]=rawToByte(0x02);
command[1]=rawToByte(0x85);
command[2]=rawToByte(0x05);
command[3]=rawToByte(0xc7);
command[4]=rawToByte(0x33);
c...
I am creating a file in my Android application as follows:
HEADINGSTRING = new String("Android Debugging " + "\n"
"XML test Debugging");
}
public void setUpLogging(Context context){
Log.d("LOGGING", "Setting up logging.....");
try { // catches IOException below
FileOutputStream fOut = context.o...
Hi
i run the following program in my emulator and got my desired output.
MyHandler handler=new MyHandler();
XMLReader xr = parser.getXMLReader();
xr.setContentHandler(handler);
xr.parse(new InputSource(XML_FILE_URL));
tv.setText(handler.getParsedData());
But when i run it on my device (HTC my touch s...
Recently a client asked me to make their site "work on smart phones", which normally wouldn't be too much of an issue... However it's a video site, and I have absolutely no idea where to even begin. Right off the bat I'm not even going to consider allowing the site to even function in anything other than Android (Maybe even 2.0+) and iPh...
I have a ListView that shows a list of names. When you select a name, I want to pass the selected person' ID to the next view (Profile) and retreieve their data based on their ID.
I am able to load the Profile View, but do not know how to pass the ID from the ListView to the Profile. Here is how I am loading the Profile:
lv.setOnIt...
Hello everyone!
I've read about intents in android but here goes my question. I'd like to launch an app on my android phone with the click of a link in the web browser. Example:
If the link is "mycam://http://camcorder.com", "mycam://" acts as some kind of "tag" to launch my app but I'd like to pass "http://camcorder.com" as a string to...
We all know that Android runs Dalvik VM programs.
Normally developers write programs in Java and they compile it to Dalvik bytecode.
I wonder if it would be possible to create a compiler that can take C# code and compile it into Dalvik bytecode.
...
Shown are a few lines of code. If I play a single sound, it runs fine. Adding a second sound causes it to crash. Any advice is appreciated.
private SoundManager mSoundManager;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceStat...
Okay, I have an android application that has a form in it, two EditText, a spinner, and a login button. The user selects the service from the spinner, types in their user name and password, and clicks login. The data is sent via POST, a response is returned, it's handled, a new webview is launched, the html string generated from the resp...
My DBHelper class
public class DBHelper extends SQLiteOpenHelper {
public DBHelper(Context context)
{
super(context,"SIMPLE_DB",null,1);
}
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL("CREATE TABLE SIMPLE_TABLE ( " +
"ID INTEGER PRIMARY KEY " +
"DESC TEXT);");
}
@Override
public void onUpgrade(SQL...
Hello,
I successfully compiled an android analog clock, but now i want to include more clocks in the same application so a user can install one app but see 2-3 different clock widgets on their phone.
I have searched the internet but the tutorials do not include any examples.
Thanks.
...
The NDK download page notes that, "Typical good candidates for the NDK are self-contained, CPU-intensive operations that don't allocate much memory, such as signal processing, physics simulation, and so on."
I came from a C background and was excited to try to use the NDK to operate most of my OpenGL ES functions and any native function...
I don't have a physical Android device to work with, so all I can use is the emulator. I'm wondering if there's something I could use to make the IO speeds more realistic - How do I slow down disk access to the speed it would be on a physical device?
Also, this may be unrelated, but when I change the speed and latency options in Eclipse...
For some odd reason, my project is generating two icons, same name, launches the same project, in the app drawer. I can't figure out what is causing this. Does anyone have any suggestions?
Link to screenshot
The M in the white circle is my default icon. If you view the screenshot, you'll see it appears twice. I've checked the applicati...
Hello all,
This is probably an easy one. I have about 20 TextViews/ImageViews in my current project that I access like this:
((TextView)multiLayout.findViewById(R.id.GameBoard_Multi_Answer1_Text)).setText("");
//or
((ImageView)multiLayout.findViewById(R.id.GameBoard_Multi_Answer1_Right)).setVisibility(View.INVISIBLE);
My question i...
Hi,
I have a WebView in my Android App that is loading an HTML string using the loadDataWithBaseURL() method. The problem is that local anchor links (<a href="#link">...) are not working correctly. When the link is clicked, it becomes highlighted, but does not scroll to the corresponding anchor.
This also does not work if I use the W...