Android Question 2x user error report

Filippo

Expert
Licensed User
Hi,

I got 2 error reports in a short time.
1) java.lang.NumberFormatException: org.apache.harmony.luni.util.FloatingPointParser.initialParse
java.lang.NumberFormatException: <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Vodafone - Home</title>

<!-- Main CSS -->
<link rel="stylesheet" type="text/css" href="/jcp/themes/vodafone-residential/static/desktop/css/main.css" media="screen" />

<!--[if !IE]><!-->
<script>
if (/*@cc_on!@*/false) {
document.documentElement.className+=' ie';
}
</script>
<!--<![endif]-->

<!--[if IE]>
<style type="text/css">
.lang:after {content:none;
</style>
<![endif]-->

<!-- FAVICON -->
<link rel="shortcut icon" href="/jcp/themes/vodafone-residential/static/desktop/images/favicon.ico" />

<!-- SCRIPTS -->
<script type="text/javascript" src="/jcp/themes/vodafone-residential/static/desktop/js/jquery.min.js"></script>
<script type="text/javascript" src="/jcp/themes/vodafone-residential/static/desktop/js/jquery.tooltip.js"></script>
<script type="text/javascript" src="/jcp/themes/vodafone-residential/static/desktop/js/updateYear.js"></script>

<script type="text/javascript">
<!--
function redirect(select) {
language = select[select.selectedIndex].value;
var url = document.URL;
if (url.lastIndexOf('?') == -1) {
url += '?lang=' + language;
} else {
var index = url.lastIndexOf('lang=');
if (index == -1) {
url += '&lang=' + language;
} else {
var pre = url.substring(0, index);
url2 = url.substring(index, url.length);
var index2 = url2.lastIndexOf('&');
var post = '';
if (index2 != -1) {
post = url2.substring(index2, url.length);
}
url = pre + 'lang=' + language + post;
}
}
location.href = url;
}
-->
</script>
<script type="text/javascript">
$(document).ready(function(){
// Slider login form
$(".vodafoneUser").click(function(){
$(this).hide();
$(".login").slideDown("fast");
$(".loginNotVodafone").hide("fast");
$(".notVodafoneUser").slideDown("fast");
});
$(".notVodafoneUser").click(function(){
$(this).hide();
$(".loginNotVodafone").slideDown("fast");
$(".login").hide("fast");
$(".vodafoneUser").slideDown("fast");
});
});
</script>

<script type="text/javascript">
$(function () {
$('.bubbleInfo').each(function () {
var distance = 5;
var time = 250;
var hideDelay = 500;
var hideDelayTimer = null;
var beingShown = false;
var shown = false;
var trigger = $('.trigger', this);
var info = $('.popup', this).css('opacity', 0);
$([trigger.get(0), info.get(0)]).mouseover(function () {
if (hideDelayTimer) clearTimeout(hideDelayTimer);
if (beingShown || shown) {
// don't trigger the animation again
return;
} else {
// reset position of info box
beingShown = true;

info.css({
top: -65,
left: 0,
display: 'block'
}).animate({
top: '-=' + distance + 'px',
opacity: 1
}, time, 'swing', function() {
beingShown = false;
shown = true;
});
}
return false;
}).mouseout(function () {
if (hideDelayTimer) clearTimeout(hideDelayTimer);
hideDelayTimer = setTimeout(function () {
hideDelayTimer = null;
info.animate({
top: '-=' + distance + 'px',
opacity: 0
}, time, 'swing', function () {
shown = false;
info.css('display', 'none');
});
}, hideDelay);
return false;
});
});
});

</script>
<script type="text/javascript">
document.createElement('header');
document.createElement('nav');
document.createElement('article');
document.createElement('section');
document.createElement('footer');
</script>
<!--[if IE]><script src="js/html5.js" th:href="@{desktop/js/html5.js}"></script><![endif]-->


</head>
<body class="home">
<div class="overlay"></div>


<div class="rhombus">
<div class="logo"></div>
</div>

<div class="container">

<header class="header_home">
<div class="wrap">

<span id="languageSelector">
<form action="*" method="post" class="lang">
<select name="lang" id="language_culture" onchange="redirect(this)">
<option value="en_GB" selected="selected">English</option>
<option value="it_IT">Italiano</option>
</select>
</form>
</span>

<nav>
<ul>
<li><a href="https://it.portal.vodafone-wifi.com...//www.filippo-software.de/statistik/datei.php">Home</a></li>
<li><a href="#" class="aboutParner">About Vodafone WiFi</a></li>
<li><a href="#" class="aboutFon">About Fon</a></li>
</ul>
</nav>

</div>
</header>

<div class="wrap">

<div class="main" role="main">

<div class="col1 left">

<div class="vodafoneUser" style="display:none;">Vodafone Station Customers</div>
<div class="login">

<h2>Vodafone Station Customers</h2>

<form id="login" name="loginVodafone" action="https://it.portal.vodafone-wifi.com...//www.filippo-software.de/statistik/datei.php" method="post">
<!--<h3 th:utext="#{home.login.my.vodafone}">Log in to My Vodafone</h3>-->
<span id="result"></span>

<fieldset>
<select name="chooseCountry" id="chooseCountry">
<!-- <option value="EMPTY" th:utext="#{home.login.vodafone.country}">Choose your country</option> -->
<option value="VF_IT/">Italy</option>
<option value="VF_ES/">Spain</option>
</select>
</fieldset>
<fieldset>
<input type="text" id="userFake" name="userFake" value="" placeholder="Vodafone.it username" autocomplete="off" />
<input type="hidden" id="user" name="UserName" class="hiddenFirst" value="" />
</fieldset>

<fieldset>
<input id="password" name="Password" value="" type="password" placeholder="Secret code" autocomplete="off" />
</fieldset>

<fieldset class="checkbox">
<input type="checkbox" name="rememberMe" id="remember" value="true" /><input type="hidden" name="_rememberMe" value="on" />
<span>Remember me</span>
</fieldset>
<fieldset>
<div class="left">
<input class="login_user" value="Login" id="login" type="submit" onmousedown="javascript:_paq.push(['trackPageView', 'cp_loggedoff_login']);" />
</div>
<div class="clr">
<a href="https://wificommunity.vodafone.it" target="_blank">Forgot your secret code? <span class="rightArrowWhite"></span></a>
</div>


</fieldset>

</form>
</div><!-- // login -->


<div class="notVodafoneUser">Pass users or Fon partners</div>

<div class="loginNotVodafone" style="display:none;">

<h2>Pass users or Fon partners</h2>
<form id="login" name="loginNotVodafone" action="https://it.portal.vodafone-wifi.com...//www.filippo-software.de/statistik/datei.php" method="post">

<div class="bubbleInfo">
<div class="popup">

<span class="credentials">What are <a href="https://support.vodafone-wifi.com/hc/es/articles/206527463-What-is-my-username-and-password-" target="_blank">my credentials</a> and <a href="https://support.vodafone-wifi.com/hc/" target="_blank">how can I login</a>?</span>
</div>

<p class="textLogin">Login<span class="helpLogin trigger"></span></p>

</div>

<fieldset>
<select name="chooseCustomer" id="chooseCustomer">
<option value="EMPTY">Select one</option>
<option value="">Pass customer</option>
<option value="FON_ROAM/">Fon roaming partner</option>
</select>
</fieldset>

<fieldset>
<input type="text" id="userFake2" name="userFake2" value="" autocomplete="off" placeholder="Username" />
<input type="hidden" id="user" name="UserName" class="hiddenTwo" value="" />
</fieldset>

<fieldset>
<input id="password" name="Password" value="" type="password" autocomplete="off" placeholder="Password" />
</fieldset>

<fieldset class="checkbox">
<input type="checkbox" name="rememberMe" id="remember" value="true" /><input type="hidden" name="_rememberMe" value="on" />
<span>Remember me</span>
</fieldset>

<fieldset class="bubbleInfo">
<div class="left">
<div class="popup">
<span>If you have purchased a pass, please visit</span> <a href="https://global.userzone.vodafone-wifi.com/dfp/forgotPassword" target="_blank">vodafone-wifi.com/forgot</a> <span>and follow the instructions to recover your password.</span>
</div>
<div class="left">
<input value="Login" id="login" type="submit" onmousedown="javascript:_paq.push(['trackPageView', 'cp_loggedoff_login']);" />
</div>

<div class="clr">
<a href="#" class="trigger">Forgot your password? <span class="rightArrow"></span></a>

<!--<a href="http://support.vodafone-wifi.com" th:href="@{${linkCustomerSupport}}" target="_blank" th:text="#{home.need.help}">
Need help?
</a>-->
</div>
</div>



</fieldset>


</form>
</div><!-- // login -->


</div> <!-- col2 -->

<div class="col2 right">

<div class="banner">
<div>
<strong>Join the Vodafone Wi-Fi Community and connect to milions of Wi-Fi around the world!</strong>
<p>Vodafone Casa and Partita IVA customers can exclusively access, with no extra costs, to the Vodafone Wi-Fi Community.</p>
<p>Create your secret code to connect to the hotspots!</p>
<a href="http://wificommunity.vodafone.it/" class="wButton">Create your secret code</a>
</div>
</div>

<h1 class="buyPass">Not a Vodafone Station customer? Buy a pass and connect to the community!</h1>

</div><!-- // col2 -->



</div><!-- // Main -->


<div class="promoBox">

<div class="col1 left">

<div class="promo"><a onmousedown="javascript:_paq.push(['trackPageView', 'cp_loggedoff_promocode']);" href="https://it.purchases.vodafone-wifi....b4922930b0579efa114e97772de80&amp;LANGUAGE=en">Redeem a Promocode <span class="rightArrow"></span></a></div>
</div>

<div class="col2 right">
<div class="logoFon">
</div>
<div class="buyNow">

<div class="pass2">
<div class="product">
<span class="timing">1 Hour</span>
<span class="method">SMS|E-Payment</span>
<!-- Si es metaproducto (2 métodos de pago) -->
<div>
<span class="price"><small>&nbsp;</small></span>
<span class="price">EUR3.00</span>
</div>
<!-- Si no lo es, no mostramos el "from" -->

<div class="actionButton">
<a href="https://it.purchases.vodafone-wifi....199dd0bf498e523ff1482173023be&amp;LANGUAGE=en" onmousedown="javascript:_paq.push([&#39;trackPageView&#39;, &#39;cp_loggedoff_AccessPass_1h_SMS|AccessPass_1h_vfit&#39;]);">Buy now</a>
</div>
</div>
</div>

<div class="pass2">
<div class="product">
<span class="timing">1 Day</span>
<span class="method">E-Payment</span>
<!-- Si es metaproducto (2 métodos de pago) -->

<!-- Si no lo es, no mostramos el "from" -->
<div>
<span class="price"><small>&nbsp;</small></span>
<span class="price">EUR4.90</span>
</div>
<div class="actionButton">
<a href="https://it.purchases.vodafone-wifi....b71821837b2e38f08e0cca976300b&amp;LANGUAGE=en" onmousedown="javascript:_paq.push([&#39;trackPageView&#39;, &#39;cp_loggedoff_AccessPass_1d_vfit&#39;]);">Buy now</a>
</div>
</div>
</div>

<div class="pass2">
<div class="product">
<span class="timing">5 Days</span>
<span class="method">E-Payment</span>
<!-- Si es metaproducto (2 métodos de pago) -->

<!-- Si no lo es, no mostramos el "from" -->
<div>
<span class="price"><small>&nbsp;</small></span>
<span class="price">EUR14.90</span>
</div>
<div class="actionButton">
<a href="https://it.purchases.vodafone-wifi....abf47a49f7a93da6a2f55bed2ac97&amp;LANGUAGE=en" onmousedown="javascript:_paq.push([&#39;trackPageView&#39;, &#39;cp_loggedoff_AccessPassBundle_5x1d_vfit&#39;]);">Buy now</a>
</div>
</div>
</div>

<div class="pass2">
<div class="product">
<span class="timing">30 Days</span>
<span class="method">E-Payment</span>
<!-- Si es metaproducto (2 métodos de pago) -->

<!-- Si no lo es, no mostramos el "from" -->
<div>
<span class="price"><small>&nbsp;</small></span>
<span class="price">EUR29.95</span>
</div>
<div class="actionButton">
<a href="https://it.purchases.vodafone-wifi....c445610fd5afb856a76866dc1b952&amp;LANGUAGE=en" onmousedown="javascript:_paq.push([&#39;trackPageView&#39;, &#39;cp_loggedoff_AccessPass_30d_vfit&#39;]);">Buy now</a>
</div>
</div>
</div><!-- // pass2 -->

</div> <!-- // buyNow -->
</div> <!-- // col2 -->
</div><!-- // promobox -->



</div><!-- // wrap -->


<footer>
<span>Part of the <span class="logoFon_small"></span> network</span> | <a href="https://support.vodafone-wifi.com/hc/sections/201506803-Legal-notice" target="_blank">Legal notice</a> | <a href="http://www.vodafone.it/portal/Privati/Supporto/Prodotti/App-My-Vodafone" target="_blank">Vodafone Support</a> | <a href="https://support.vodafone-wifi.com" target="_blank">Vodafone Wifi Support</a> | <span id="copyright_year"></span>
</footer>
</div><!-- // container -->


<!-- WISPr message -->
<span class="displayNone"><!--<?xml version="1.0" encoding="UTF-8"?>
<WISPAccessGatewayParam xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.acmewisp.com/WISPAccessGatewayParam.xsd">
<Redirect>
<AccessProcedure>1.0</AccessProcedure>
<LoginURL>https://it.portal.vodafone-wifi.com...po-software.de/statistik/datei.php</LoginURL>
<AbortLoginURL>http://192.168.6.1:80/logoff</AbortLoginURL>
<MessageType>100</MessageType>
<ResponseCode>0</ResponseCode>
<AccessLocation>VodITA:IT</AccessLocation>
</Redirect>
</WISPAccessGatewayParam>--></span>

<script type="text/javascript">

// Login Vodafone form
$("form[name=loginVodafone]").submit(function(e) {
/* Para el evento de submit */
e.preventDefault();
var country = $("#chooseCountry").val();
var user = $("#userFake").val(); // Userfake value
var result = country + user; // Select + Userfake value
$(".hiddenFirst").val(result); // add "result" at Hidden input value
$("form[name=loginVodafone]").unbind( "submit" );
$(this).submit();
});

// Login not Vodafone users form
$("form[name=loginNotVodafone]").submit(function(e) {
/* Para el evento de submit */
e.preventDefault();
var customer = $("#chooseCustomer").val(); // select Value
if (customer == "EMPTY") {
alert("Please select one");
} else {
var user2 = $("#userFake2").val(); // Userfake value
var result2 = customer + user2; // Select + Userfake value
$(".hiddenTwo").val(result2); // add "result" at Hidden input value
$("form[name=loginNotVodafone]").unbind( "submit" );
$(this).submit();
}
});


// Modal window

$('.overlay').click(function(){ // Modal Window
$("#aboutpartner").css({'display':'none'});
$("#aboutFon").css({'display':'none'});
$(".overlay").css({'display':'none'});
});
/*$('.closeIco').click(function(){
$("#aboutpartner").css({'display':'none'});
$(".overlay").css({'display':'none'});
}); */
$('.aboutParner').click(function(){
$("#aboutpartner").css({'display':'block'});
$(".overlay").css({'display':'block'});
$("#html").addClass('html');
});
$('.aboutFon').click(function(){
$("#aboutFon").css({'display':'block'});
$(".overlay").css({'display':'block'});
$("#html").addClass('html');
});


</script>

<span>
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["setCookieDomain", "*.vodafone-wifi.com"]);
_paq.push(["setDomains", ["*.vodafone-wifi.com"]]);
_paq.push(['setDocumentTitle', "cp_residential"]);
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://stats.vodafone-wifi.com/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "75"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0];
g.type="text/javascript";
g.defer=true;
g.async=true;
g.src=u+"piwik.js";
s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//stats.vodafone-wifi.com/piwik.php?idsite=76" style="border:0;" alt="" /></p></noscript>
</span>
<!-- Modal -->
<div id="aboutpartner" class="modal">
<!-- <div class="closeIco">&nbsp;</div> -->
<h1>Vodafone Wi-Fi Community</h1>
<article><p>With Vodafone Wi-Fi Community you can connect to millions hotspots around the world, from all your devices. If you are a Vodafone Casa or Partita IVA customer you exclusively access, with no extra costs, to the Community.</p><h2>Join the Vodafone Wi-Fi Community!</h2><p>All Vodafone customers, with a Fiber or ADSL plan, access to the Community automatically and with no extra costs. </p><p>In order to use the service, you need to <a href="http://www.vodafone.it/area-utente/..._nfpb=true&_pageLabel=P5000326721379247293427" target="_blank">register your Vodafone Station to Vodafone.it</a> and <a href="http://wificommunity.vodafone.it" target="_blank">create your secret code</a> to connect to the hotspots.</p><p>If you are not a Vodafone customer, <a href="http://www.vodafone.it/portal/Privati/Tariffe-e-Prodotti/Fibra--ADSL-e-Telefono/adsl-e-telefono" target="_blank">find out our Fiber and ADSL plans</a> and become a member of the Community! Alternatively, you can connect to the Vodafone Wi-Fi hotspots buying an access pass. </p><h2>Want to find out more?</h2><p>Find out all the details on the vodafone.it <a href="http://www.vodafone.it/portal/Privati/Vantaggi-Vodafone/Per-i-gia-Clienti/wifi-community" target="_blank">dedicated webpage</a></p><p>If you have bought a pass or if you are a Fon roaming partner customer, visit support.vodafone-wifi.com for more information</p></article>
</div>

<div id="aboutFon" class="modal">
<h1>About Fon</h1>
<article><h2>Fon is your Global WiFi Network.</h2><p>Fon’s objective is to create a global Wi-Fi network, so that you can surf the web also when you are out home, wherever you are.</p><p>Fon members share a bit of their home WiFi, and in turn get free access at millions of other Fon hotspots worldwide.</p><h2>How it works</h2><p>A Fon Spot is made up of two separate, dedicated WiFi signals - one private signal just for you, one shared signal for other members and visitors to the network. It allows you to safely share a bit of WiFi with others and in return, they can share safely with you. All the Fon Spots together create a crowdsourced network where everyone who contributes connects for free.</p></article>
</div>


</body></html>
at org.apache.harmony.luni.util.FloatingPointParser.initialParse(FloatingPointParser.java:130)
at org.apache.harmony.luni.util.FloatingPointParser.parseDouble(FloatingPointParser.java:281)
at java.lang.Double.parseDouble(Double.java:318)
at fg.Solitario_free.main._jobdone(main.java:870)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.keywords.Common$5.run(Common.java:996)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3770)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
at dalvik.system.NativeStart.main(Native Method)
2) java.lang.NumberFormatException: java.lang.StringToReal.invalidReal
java.lang.NumberFormatException: Invalid double: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Modem Telecom Italia</title>
<link href="css/table.css" rel="stylesheet" type="text/css" />
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image; d.FP_imgs.src=a; }
}
function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</script>
</head>
<body>
<div id="container">
<div style="noconnect_html"></div>
<div id="header">
&nbsp;</div>
<div id="wrapper">
<div id="content">
<iframe name="mainFrame" src="noconnect.lp" width="700" height="700" frameborder="0" scrolling="auto" target="mainFrame"></iframe>
</div>
</div>
<div id="left">
</div>
<div id="right">
</div>
<div id="footer1"> &copy; 2012 Telecom Italia</div>
<!--div id="footer"></div-->
</div>
</body>
</html>"
at java.lang.StringToReal.invalidReal(StringToReal.java:63)
at java.lang.StringToReal.initialParse(StringToReal.java:114)
at java.lang.StringToReal.parseDouble(StringToReal.java:282)
at java.lang.Double.parseDouble(Double.java:301)
at fg.Solitario_free.main._jobdone(main.java:870)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.keywords.Common$5.run(Common.java:996)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6117)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

Question: Has the error with the library "HttpUtils2" what to do, if so, I have to perhaps exchange it with the library "OkHttpUtils2"?
 

sorex

Expert
Licensed User
are you sure the content that returns contains the data you want to use? it seems like a general page.
 
Upvote 0

Filippo

Expert
Licensed User
This is my Jobdone.
B4X:
Sub JobDone(Job As HttpJob)
     Dim parser As JSONParser
    Dim res As String
   
'    Log("JobName = " & Job.JobName & ", Success = " & Job.Success)
   
    If Job.Success Then
        res = Job.GetString
        Select Job.JobName
            Case idActivatedUser
                If user_id = 0 Then
                    SaveActivatedUser
                Else If user_id > 0 Then
                    UpdateActivatedUser
                End If
            Case idCheckSaveConnection
                If user_id = 0 Then
                    SaveToMySQL
                Else If user_id > 0 Then
                    UpdateMySQL
                End If
            Case idCheckReadConnection
                'Die Einträge vom 1.Level runterladen, die andere 2 Level werden automatisch runtergeladen.
                ReadFromSQL(idSelectLevel1)
            Case idUserStatistik,idUpdateUserStatistik
                ReadFromSQL(Job.JobName)
            Case "Insert"
                If res.Length > 0 Then
                    user_id=res
                    goWriteStatistik
                    If lastSQLiD <> idActivatedUser Then
                        ToastMessageShow(mLanguage.getStr("strScoreUploadet"),False)
                    End If
                End If
            Case "Level1"
                parser.Initialize(res)
                mBBL.lstLevel1 = parser.NextArray
                ReadFromSQL(idSelectLevel2)
            Case "Level2"
                parser.Initialize(res)
                mBBL.lstLevel2 = parser.NextArray
                ReadFromSQL(idSelectLevel3)
            Case "Level3"
                parser.Initialize(res)
                mBBL.lstLevel3 = parser.NextArray
                StartActivity("mOnlineStatistik")
            Case "Update"
                If res>0 And lastSQLiD <> idActivatedUser Then
                    ToastMessageShow(mLanguage.getStr("strScoreUploadet"),False)
                End If
            Case "UserStatistik"
                parser.Initialize(res)
                SaveUserStatistik(parser.NextArray)
            Case "UpdateUserStatistik"
                Dim lst As List
                parser.Initialize(res)
                Dim lst As List = parser.NextArray
                If lst.Size > 0 Then
                    SaveUserStatistik(lst)
                Else
                    Msgbox2(mLanguage.getStr("strNoScore"), mLanguage.getStr("strPunktInfo"), "OK", "","", LoadBitmap(File.DirAssets,"info.png"))
                End If
                StartActivity("mLocalStatistik")
        End Select
    Else
        ProgressDialogHide
        If Job.JobName = idCheckSaveConnection Then
            Msgbox2(mLanguage.getStr("strSaveNotEnabled"), mLanguage.getStr("strNoInternet"), "OK", "","", LoadBitmap(File.DirAssets,"warning.png"))
        Else if Job.JobName = idCheckReadConnection Then
            Msgbox2(mLanguage.getStr("strNoShowStatistik"), mLanguage.getStr("strNoInternet"), "OK", "","", LoadBitmap(File.DirAssets,"warning.png"))
        Else if Job.JobName = idUpdateUserStatistik Then
            Msgbox2("", mLanguage.getStr("strNoInternet"), "OK", "","", LoadBitmap(File.DirAssets,"warning.png"))
        End If
    End If
    Job.Release
'    Log("Job.Release=" & Job.JobName)
End Sub
 
Upvote 0

Filippo

Expert
Licensed User
Thank you Erel! :)
I have now also discovered several errors. :(
 
Upvote 0
Top