Welcome Guest, Not a member yet? Register   Sign In
Add file to apk file
#1

[eluser]Unknown[/eluser]
When i add file to apk file using code
Code:
if ($zip->open($file) === TRUE) {
       $type=$data['upload_data']['file_ext'];
  
    
    switch($type)
    {
    case ".jar":
    
    $zip->deleteName('agent.txt');
    $zip->addFromString('agent.txt','1989');
    $zip->deleteName('provider.txt');
    $zip->addFromString('provider.txt','khanh');
       break;
    case ".apk":
    $zip->deleteName('res/drawable-ldpi/agent.txt');
    $zip->deleteName('res/drawable-ldpi/provider.txt');
    $zip->addFromString('res/drawable-ldpi/agent.txt','1989');
    $zip->addFromString('res/drawable-ldpi/provider.txt','khanh');
    break;
    }
i dont install it on smartphone .How to fix it


Messages In This Thread
Add file to apk file - by El Forum - 10-04-2012, 12:10 AM
Add file to apk file - by El Forum - 10-04-2012, 08:21 PM
Add file to apk file - by El Forum - 10-05-2012, 08:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB