Also letztes Jahr habe ich im Betrieb ein Test gemacht, Button klicken und ich wurde auf unsere Homepage weitergeleitet.
Als ich die APK jetzt aber zum testen auf mein neues Handy ( damals s3 ) jetzt S5 probiert habe, genau das selbe funktioniert nicht mehr.
Ja Ich weiß ich kann es mir da etwas Leichter machen xD das war auch nur zum testen
Code:
//---------------------------------------------------------------------------
#include <fmx.h>
#pragma hdrstop
#include "KcalApp.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.fmx"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button2Click(TObject *Sender)
{
int a,b,c, d;
if ((kg->Text.Length()>0) && (cm->Text.Length()>0) && (alter->Text.Length()>0))
{
a = StrToInt(kg->Text);
b = StrToInt(cm->Text);
c = StrToInt(alter->Text);
Panel1->Visible = false;
Edit1->Text = ((66,47 + (13,7 * a) + (5 * b) - (6,8 * c))-1100);
}
}