Related
Hi,
ok, this is most probably the most simple, stupid, unfinished piece of software you have ever seen. I agree. On the other hand, it should do what it is originally meant for. Setup a VOIP configuration on a Smartphone running WM6 without having to play with XML files and stuff.
So, this release, which is not even Beta or Alpha (whatever may be before that) does the job to load a VOIP config based on what you type in. It works on my HTC S620, should work on any VOIP enabled WM6 Smartphone.
For the coding curious, It's being coded (far from being finished) in pure C, without any Framework and MS developers suites. Only freeware stuff is being used for this development.
You'll see menu entries that will bring up only message boxes. Functions are not yet implemented but I'm working on it.
Once you typed in your configuration, press the key linked to "Save" (Left key), this will copy your config to the phone. A Messagebox will tell you the result of the operation and application will exit.
The config you typed in is saved as _setup.xml as well in the \Temp folder.
A file named Voipiser.cfg is saved as well in the \Temp folder, just forget about it atm.
Please, please, take this as hobby development. This is my first Smartphone app and I release it before being fully finished & tested only because I think it could be nice, if it works for you as well, to have it as soon as possible.
View attachment 38358
Hi to Shaun who is developing a much nicer version for PPC.
Cheers,
Ka.
This sounds interesting. I would definitely give it a try.
Doesn't work under wm6 t-mobile rom on dash
Good job!
Hi Kast,
i tried enabling VoIP Support on my HTC S710 by using your small app. As long as i let the example values untouched everything works fine and the app tells me, that the settings were succesfully saved. But when i type in the configvalues of my sipaccount, it says "XML Input malformed" when pressing "Safe". I think the problem is something about the proxyname. If i type in the values but let the proxyfield untouched, the app saves the settings...
Any suggestions here?
Greetz,
Fussel
Doesn't work under wm6 t-mobile rom on dash
Click to expand...
Click to collapse
Uhm, strange, developed it originally and tested on TMo Dash WM6... Would you mind giving me details of the way it crashes?
I think the problem is something about the proxyname.
Click to expand...
Click to collapse
You could send me the proxy name and I'll try to debug it with it.
Thanks all,
Ka.
Fussel1979 said:
Hi Kast,
i tried enabling VoIP Support on my HTC S710 by using your small app. As long as i let the example values untouched everything works fine and the app tells me, that the settings were succesfully saved. But when i type in the configvalues of my sipaccount, it says "XML Input malformed" when pressing "Safe". I think the problem is something about the proxyname. If i type in the values but let the proxyfield untouched, the app saves the settings...
Any suggestions here?
Greetz,
Fussel
Click to expand...
Click to collapse
Just put http:// in front of the proxy server adress and it will save it!
good luck
Hello, i had an "unknown error" when i save config
Hi gregdu13250,
mind telling me what phone you have and the provider you use?
Thanks,
Ka.
I have a s710 htc and the SIP¨provider is Ippi
Hi. Here is all errors which are done by KaSt VoIpiser program in a _setup.xml file.
Code:
1:<wap-provisioningdoc>
2: <characteristic type="VoIP">
3: <parm name="SIPSettings"
[COLOR=Red] 4:[/COLOR] value="<provision key='1232ab01' name='Sipnet'[COLOR=Red]>[/COLOR]
5: <provider name='Sipnet' />
6: <user account='1234567' password='7654321'
[COLOR=Red] 7:[/COLOR] uri='[COLOR=Red]sip:[/COLOR][email protected]'
8: allowedauth='digest'/>
[COLOR=Red]9:[/COLOR] <sipsrv addr='sipnet.ru[COLOR=Red]:5060[/COLOR]' protocol='UDP' role='proxy'>
10: <session party='First' type='pc2pc' />
11: <session party='First' type='pc2ph' />
12: </sipsrv>[COLOR=Red]
13:[/COLOR] <sipsrv addr='sipnet.ru[COLOR=Red]:5060[/COLOR]' protocol='UDP' role='registrar'/>
14: </provision>" />
15: </characteristic>
16: </wap-provisioningdoc>
-------------------------------------------------------------------------
1: <wap-provisioningdoc>
2: <characteristic type= "VoIP">
3: <parm name="SIPSettings"
[COLOR=Red] 4:[/COLOR] value="<provision key='1232ab01' name='Sipnet'[COLOR=Red]>[/COLOR]
5: <provider name='Sipnet' />
6: <user account='1234567' password='7654321'
[COLOR=Red] 7:[/COLOR] uri='[email protected]'
8: allowedauth='digest'/>
[COLOR=Red]9:[/COLOR] <sipsrv addr='sipnet.ru' protocol='UDP' role='proxy'>
10: <session party='First' type='pc2pc' />
11: <session party='First' type='pc2ph' />
12: </sipsrv>
13: <sipsrv addr='sipnet.ru' protocol='UDP' role='registrar'/>
14: </provision>" />
15:</characteristic>
16:</wap-provisioningdoc>
Upper is a genuine _setup.xml file, and lower is a file generated by KaSt VoIpiser program.
I think it it will be easy to correct.
Hi,
thanks for spotting the errors houser21! Great help!
Just one thing... I can't stick 5060 in the config as not all of the proxies are using that port. I know at least one using 5061. Prefer that the user specifies the port when different than 5060 or just by always entering proxyort.
Actually made this tool to ease the setup of the provider I use normally, which accepts the syntax the way it is. Prolly not all of them are so "open".
Will post tomorrow a new version with the changes you highlighted.
Thanks again,
Ka.
I downloaded you're program and everything looks really nice but...
I cant seem to get it working when i config it for voipbuster.
The idea is to set it that if there is Wlan available that the call goes through the internet, is this possible with this program and if so what do i do wrong ??
domain name is missin
Hello Kast
it seems one parameter is missing in the CAB file - the domain name.
the VOIP provider supplied me with 4 parameters:
user anem
password
SIP IP address
domain name.
where so i put the domain name in your application ?
this should fo into the URI field in the setup.xml file
thanks.
Kast, your program works great but I still cant get VoIP to work at all on the S620, calls still go over mobile even when connected to wifi and s620 shows internet calling available. Is there anothe cab file you used to get VoIP working ?
Thanks.
kast said:
Hi,
ok, this is most probably the most simple, stupid, unfinished piece of software you have ever seen. I agree. On the other hand, it should do what it is originally meant for. Setup a VOIP configuration on a Smartphone running WM6 without having to play with XML files and stuff.
So, this release, which is not even Beta or Alpha (whatever may be before that) does the job to load a VOIP config based on what you type in. It works on my HTC S620, should work on any VOIP enabled WM6 Smartphone.
For the coding curious, It's being coded (far from being finished) in pure C, without any Framework and MS developers suites. Only freeware stuff is being used for this development.
You'll see menu entries that will bring up only message boxes. Functions are not yet implemented but I'm working on it.
Once you typed in your configuration, press the key linked to "Save" (Left key), this will copy your config to the phone. A Messagebox will tell you the result of the operation and application will exit.
The config you typed in is saved as _setup.xml as well in the \Temp folder.
A file named Voipiser.cfg is saved as well in the \Temp folder, just forget about it atm.
Please, please, take this as hobby development. This is my first Smartphone app and I release it before being fully finished & tested only because I think it could be nice, if it works for you as well, to have it as soon as possible.
View attachment 38358
Hi to Shaun who is developing a much nicer version for PPC.
Cheers,
Ka.
Click to expand...
Click to collapse
tjmvdz said:
Just put http:// in front of the proxy server adress and it will save it!
good luck
Click to expand...
Click to collapse
I think it doesn't need the http://, when I add the http://, My Voip doesn't work. My phone cann't register and make call.
Blackjack II SGH-i617
Thanks for the effort, though when trying to use this program to save a config, all it does is say unknown error.
Has anyone got a smartphone voip config program working at all?
So my game and all of it's several revisions have worked great in the Emulator, but for whatever reason, my games will not work on ANY Android Phone !!! I've tried 4 types.
All it does is show me my background and nothing in the foreground. No events, sounds, nothing.
So why does most of Googles stuff FAIL SO BAD!!! when people try to use it?
What do you guys use?
I am a graphics artist and I have 3 games ready that look killer, but cannot get them to a market or even a phone.
So do I leave android, or are there solutions for getting things from Eclipse/SDK-ADV to a running state on a freaking phone?
mmm what are you using for the games: canvas, opengl es 1.0 JSR 239 or opengl es 2.0? which devices are you trying to run them into? are the device screen size in the same resolution that the emulator?
Though i really don't see this problem in opengl since the emulator does not have graphics acceleration... So you are using canvas, right? have you check that all your imports are compatible with the version of android of the phones you are testing them? remember that canvas is not accelerated on phones, whereas in the emulator it is, so maybe, if it is too graphic intensive, that might be part of your problem
I've never run into this problem, but I use mostly opengl frameworks, that btw are a pain in the ass to debug with the emulator but work great on the phones (5 vs 40-60 fps)...
For 2d I use andengine, its an opensource gl es 1.0 framework, compatible with devices from 1.6
For physics I use Box2d, that it is an opensource physics jni framework compatible from 2.* if i recall right.
For 3d i have not done anything yet. But you could try using opengl or there is a port of an opensource java 3d framework, can't recall its name, but it was something like jp**-ae i think, probably someone would say its name or you may find it using the search of the forum, cause i read that one in a post from here a few months ago...
I personally don't use canvas, since i find andengine much more usefull and faster for 2d...
I am loading all the graphics/buttons via the xml layout using LinearLayout.
I recently read that "fill_parent" is a bad idea in the layout.xml so I replaced those with "wrap_content"...still have yet to test on the phone.
I am basically just trying to the SkellyApp to even run on my phone, not even snake will go onto it.
I do not use canvas, gps, bluetooth or anything, just touch stuff and text.
I'm still left confused
Here are the Imports I am using;
import android.app.Activity;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.view.MotionEvent;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
import android.view.View.OnTouchListener;
import java.util.Random;
you still missing something for us to see what the error is
the fill_parent / wrap_content are just properties, is not that its going to produce that error... it is recommended to use RelativeLayout, just for making it easier to port it to different screen sizes
if you don't want to mess much with the layout settings you could use droiddraw (droiddraw.org)
other than that I don't know what you are doing wrong, have you try logcat to see if you spot an error somewhere? you will probably find your answer there...
I appreciate you sticking with me on this...here is my layout file...is there a problem with me using 2 Linears?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_height="wrap_content"
androidrientation="horizontal"
android:background="@drawable/bg2"
>
<LinearLayout
android:layout_width="wrap_content" android:layout_height="wrap_content"
androidrientation="horizontal"
>
<!-- android:background="@drawable/blank"-->
<Button android:id="@+id/back" style="@style/ActionButton"
android:text="@string/back"
android:layout_width="45dip"
android:layout_height="45dip"
android:layout_alignParentLeft="true"
android:layout_marginLeft="44dip"
android:layout_marginTop="2dip"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"
android:layout_gravity = "center"
android:background="@drawable/green"
/>
<Button android:id="@+id/clear" style="@style/ActionButton"
android:text="@string/clear"
android:layout_width="45dip"
android:layout_height="45dip"
android:layout_alignParentLeft="true"
android:layout_marginLeft="-12dip"
android:layout_marginTop="35dip"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"
android:layout_gravity = "top"
android:background="@drawable/green"
/>
</LinearLayout>
<Button android:id="@+id/butone"
android:text="@string/butone"
android:layout_width="65dip"
android:layout_height="65dip"
android:layout_marginLeft="-349dip"
android:layout_marginTop="158dip"
android:layout_alignParentBottom="true"
android:layout_centerInParent="true"
android:layout_gravity = "bottom"
android:background="@drawable/glow1"
/>
<Button
android:id="@+id/b3i"
android:text="@string/b3i"
android:layout_width="120dip"
android:layout_height="120dip"
android:layout_marginLeft="-120dip"
android:layout_marginTop="95dip"
android:layout_alignParentBottom="true"
android:layout_centerInParent="true"
android:layout_gravity = "top"
android:background="@drawable/b3"
/>
<TextView android:id="@+id/text1"
android:layout_marginLeft="-89dip"
android:layout_marginTop="27dip"
android:layout_width="50dip"
android:layout_height="30dip"
android:textStyle="bold"
android:textColor="#B9B888"
android:freezesText="true"
/>
<TextView android:id="@+id/text2"
android:layout_marginLeft="12dip"
android:layout_marginTop="201dip"
android:layout_width="50dip"
android:layout_height="30dip"
android:textStyle="bold"
android:textColor="#B9B888"
android:freezesText="true"
/>
<TextView android:id="@+id/text3"
android:layout_marginLeft="-160dip"
android:layout_marginTop="201dip"
android:layout_width="50dip"
android:layout_height="30dip"
android:textStyle="bold"
android:textColor="#B9B888"
android:freezesText="true"
/>
<Button
android:id="@+id/exitbutton"
android:layout_width="35dip"
android:layout_height="35dip"
android:layout_marginLeft="222dip"
android:layout_marginTop="-37dip"
android:layout_alignParentBottom="true"
android:layout_centerInParent="true"
android:layout_gravity = "top"
android:background="@drawable/exit"
/>
</LinearLayout>
you could debug your apps on the device using eclipse and see from the logcat where things go wrong
these may help
Code:
http://forum.xda-developers.com/showthread.php?t=821022&highlight=debugging
http://dotnet.dzone.com/articles/android-and-windows-phone-7-%E2%80%93
thank you I will look at those.
Is my layout XML file (look above) correctly structured, etc. ?
your xml is ok. i ran it on my phone and its loading just fine (it displays the same thing as the emulator)
nemoc 23 said:
your xml is ok. i ran it on my phone and its loading just fine (it displays the same thing as the emulator)
Click to expand...
Click to collapse
Thanks again for your help, I'm glad it's working...guess I am learning something
Oh boy...so I created more AVD's using the other size options like 400,432,800,854, and my XML Layout above puts my buttons in different screen locations depending on the AVD used, only the default and the 432 show it the way I need.
How does a person go about making sure their buttons are in the same spot every time for all resolutions using the XML Layout, or another version of mine in the post above?
Sorry to ask for another favor, but this seems too nebulas for me to grasp atm, so a push in the right direction would be great
What were the four devices you tried. Even simple applications can change depending on the devices oem. I have a HTC Droid Incredible and simple things like radio buttons look different than the emulator, so I would see if it is an HTC/Samsung/whatever problem rather than an android problem. I could be wrong, but I have noticed that simple things change, so why not more complex things?
LuvinAndroid said:
Oh boy...so I created more AVD's using the other size options like 400,432,800,854, and my XML Layout above puts my buttons in different screen locations depending on the AVD used, only the default and the 432 show it the way I need.
How does a person go about making sure their buttons are in the same spot every time for all resolutions using the XML Layout, or another version of mine in the post above?
Sorry to ask for another favor, but this seems too nebulas for me to grasp atm, so a push in the right direction would be great
Click to expand...
Click to collapse
It seems that using linear layouts as a base caused the different resolutions to not be created the same. I use a single relative layout as the parent layout, and several views (text, image) and buttons and center everything. I would try surrounding the current xml in a single RelativeLayout, and if that doesn't work, then try breaking each LinearLayout up and converting them to RelativeLayouts (which may seem like a pain because you have to make every item's position relative to the items around it, so it can be tricky to position them exactly right). You could also use a combination of Relative and Linear Layouts to achieve the look and feel you desire for the overall layout. Hope this helps
Hi guys,
I have two Android 2.2 systems (Samsung Galaxy S and Dell Streak Tablet-Device). The Dell default-browser identifies as:
Mozilla/5.0 (Linux; U; Android 2.2; de-de; Dell Streak Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Click to expand...
Click to collapse
I also have this simplified xhtml1.0strict/valid page with an imagemap.
HTML:
<div>
<img src="./img/square.gif" width="284" height="284" alt="" usemap="#imagemap" />
<map name="imagemap" id="imagemap">
<area shape="rect" alt="4" id="part4" coords="3,3,139,139" />
<area shape="rect" alt="3" id="part3" coords="144,3,281,138" />
<area shape="rect" alt="1" id="part1" coords="3,144,139,281" />
<area shape="rect" alt="2" id="part2" coords="144,144,281,281" />
</map>
</div>
<script type="text/javascript">// <![CDATA[
$('area').click(function(e) {
var imageOffset = $('img').offset();
var x = e.pageX - Math.round(imageOffset.left);
var y = e.pageY - Math.round(imageOffset.top);
var id = $(this).attr('id');
alert('id: '+ id +'\nx: '+ x +'\ny: '+ y);
someFunction(id,x,y);
});
// ]]></script>
The challenge is:
I use jQuery and need to get the id of the clicked map-area AND the exact position of the click as x/y-value on the image itself (relative to the image) because I need to place an X at that position. (As you all know, an X marks the spot.)
All I get in the Android Default Browser (whatever that is...) is the id, the x/y coordinates return 0. In all other tested browsers (Desktop-Versions of Ff3.6, Sf5, Ch8, IE8, IE6, O11 and iOS4.2/4.1Safari on iPhone/iPad) everything works fine.
It even works with Opera Mobile (for Android).
Anyone got an idea?
Thank you for any help! Scott
Hi all,
Flash is working on my phone for some websites..how is it possible when our processor does not support flash?
I tried https://www.capitaliq.com
and where's flash on this site?
try this for example and tell us results
wechoosethemoon.org
Thats not flash, its Javascript
ohhh...so you mean to say that capitaliq one is moving image and not flash....i thought flash and moving image are the same thing...aren't they?
no ^^ you can also move images with javascript
thanks....now, i am very confused about what flash is: can anyone please give me one sentence definition for this?
Let me introduce you to a cool page that has no flash: http://www.google.com
Wikipedia said:
Adobe Flash is a multimedia platform used to add animation, video, and interactivity to web pages.
Click to expand...
Click to collapse
P.S. Its not that our processors dont support flash, its that flash doesn't support our processors.
thanks...one last time...how do you come to know that capitaliq one is javascript...can you please let me know that?
usually you can tell just by looking, if not taking a look at the page source solves that. It's not the same in each browser, but usually its right click->view page source (or something similar)
Thanks....I already took a look at it but could not figure out by that also..that is why I asked...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>
Capital IQ - Our Products: Company and Market Research, Financial Analytics, Screening, and Relationship Management Tools for Financial Professionals
</title><meta name="google-site-verification" content="-i30sEypcCfc45w16BqhrLZOAIZ2qvwBczyDuRx5swI" /><meta name="keywords" content="Capital IQ, Financials, Business, Investment" /><meta name="description" content="Capital IQ is a leading provider of data and analytics for global financial professionals. We founded our business in 1999, and now work with over 4,200 client firms, including many of the world's most successful investment banks, asset management firms, private equity firms, universities, and corporations." /><link rel="SHORTCUT ICON" href="http://www.capitaliq.com/favicon.ico" /><link type="text/css" rel="stylesheet" href="/css/styles.css" /><link type="text/css" rel="stylesheet" href="/css/960.css" /><link type="text/css" rel="stylesheet" href="/css/jkmegamenu.css" /><link type="text/css" rel="stylesheet" href="/css/%5BCOG%5DNavigation.css" /><link type="text/css" rel="stylesheet" href="/css/jQueryUITabs.css" /><link type="text/css" rel="stylesheet" href="/css/jQueryUITheme.css" />
<!-- CIQ Urchin JavaScript -->
<script type="text/javascript" src="/urchin.js"></script>
<script type="text/javascript">
_userv = 0;
urchinTracker();
</script>
This is the beginning of the source code for that site? Do you see javascript anywhere?
Yes..I saw Javascipt in there but did not got if that is for that element of the page with moving images...
use ctrl u to view source
or add
view-source:
before the address without
to view source code
cdesai said:
use ctrl u to view source
or add
view-source:
before the address without
to view source code
Click to expand...
Click to collapse
Is that browser independent?
stubborn_d0nkey said:
Is that browser independent?
Click to expand...
Click to collapse
works for chrome and firefox. I'm not sure if it works for IE my guess - it is not
Hi,
i couldn't understand something and i would be really grateful if someone can help me with that.
I have an simple "current status" apk file but the main languages of this file is spain and i want to translate this to english.
My problem is, i couldn't find any for translating related content as example, the spain lines who are in the app generally.
I found this line:
@id/healthTxt
@id/voltageTxt
@id/tempeTxt
Health, voltage and temperature are displayed in spain on my phone. But how am i able to translate that?. Where i can find those text lines?
best regards
Ids do not need to be replaced .replace strings
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
Ids do not need to be replaced .replace strings
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
This is my problem. There is just a website and a email address in strings.xml. Nothing more.
There is also a ids.xml and it looks like this:
<item type="id" name="healthTxt">false</item>
<item type="id" name="voltageTxt">false</item>
<item type="id" name="tempeTxt">false</item>
yunox said:
This is my problem. There is just a website and a email address in strings.xml. Nothing more.
There is also a ids.xml and it looks like this:
<item type="id" name="healthTxt">false</item>
<item type="id" name="voltageTxt">false</item>
<item type="id" name="tempeTxt">false</item>
Click to expand...
Click to collapse
The strings have to be inside the values or maybe values-es folder. Have a look at all the XML files there, they don't necessarily need to be named strings.xml . Also, sometimes array.xml needs to be translated as well!
What is important ist that you translate what's between the <string name="..."> </string> tags.
If you can't find any of those translatable resources and the app is only in Spanish then congrats the developer did a great job and hard coded all the strings :/
Even if they are hard coded they can be replaced.but you may have to search for them in each and every smali
Sent from my GT-S5570 using XDA Premium 4 mobile app