Afaria (How to upload Agentry Android Branding Client in Afaria)

Hello All , I am trying to upload Agentry android branding client .apk  from afaria application enterprise policy. when i try to do afaria server got crash every time so i just wonder do i need to do any thing while packaging android branding clients . because at same time if i use .apk file provided by SAP its working in afaria as well . Can you please help on it ? Thanks & Regards,   Kunal Varaiya
Tags edited by: Michael Appleby

Hi,
   What the size of the apk file ? And can you see any errors in the logs ?
Thanks,
Srikanth M

Similar Messages

  • Agentry: Android Branding Client

    Hi all,
    I understand that the android branding client supports three different ways of customization.
    Replace anything that is called a "Resource" in Android development. This includes icons, images and strings. Differentiation by language is possible.
    Change the application's name and package id via build-android-common.xml
    Provide an exported Agentry.db file which contains a full application including complex tables preset server and user data.
    Is there a way to modify the Agentry.db file in such a way that it contains only the application and a pre set server but no user data? We want the user to be forced to log in the first time he starts the application with no pre set user name. We are currently using Agentry 6.1.4.179.
    Any ideas?
    Thanks,
    Christoph

    Changing the server address of the database file wouldn't work unless unless the server you build the pre-build client db file shares the same encryption key.
    Yes, this way does expect the logic to be published to server.
    Are you rolling up just an update version, or setting up a new server?
    If it a new server, I would believe you would want to make sure the server is up and running before trying to put users on it, this would give you time to pre-build the clients
    If you are rolling a new version, are there so many to the changes to the application that the expected to take a long time to download all the changes?
    Stephen

  • Agentry Android Branding version 6.0.36+.0

    Hello All. Can i hard code server name and port in in agentry android branding client ? Ex : like Server : xyz.abc.com       Port  : 445 So , when user login first time in agentry client no need to enter server name and port for them . By default hard coded values will come . Thanks & Regards,   Kunal Varaiya

    Kunal,
    Just to let you know, Agenytry 6.0.42 is now available on the SAP Download Center and contains the change to allow Android branding to a server/port without the Agentry.db.
    Also, please mark the question as answered so others can benefit.
    Glad you got it working.
    --Bill

  • How to upload file from a client machine to server machine

    hei evryone!
    can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
    any sample code/ ideas would be much appreciated.Thx!!!!

    hei evryone!
    can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
    any sample code/ ideas would be much appreciated.Thx!!!!

  • How to upload file from java client to php

    hi
    i am trying to upload/send a file from client using swing/applet
    and receiving it with php code.
    here is the php code which uploads the post file from the client
    $uploaddir = "/home/raghavendra/Documents/";
    $file = basename( $_FILES["uploadedfile"]["name"]);
    echo "file:\n".$file;
    $uploadfile = $uploaddir. $file;
    if (move_uploaded_file($_FILES["uploadedfile"]["tmp_name"],$uploadfile)) {
    echo "File is valid, and was successfully uploaded.\n";
    else {
    echo "File upload failure Possible file upload attack!\n";
    and corresponding different java code which post the
    1)
    public void postmethodTest(String filefrom){
    try{
    String hostname = "localhost";
    int port = 80;
    InetAddress addr = InetAddress.getByName(hostname);
    Socket socket = new Socket(addr, port);
    // Send header
    String path ="/php_prgs/var/www/nsboxng/htdocs/tryupdate.php";
    File theFile = new File(filefrom);
    System.out.println ("size: " + (int) theFile.length());
    DataInputStream fis = new DataInputStream(new BufferedInputStream(new FileInputStream(theFile)));
    byte[] theData = new byte[(int) theFile.length( )];
    fis.readFully(theData);
    fis.close();
    DataOutputStream raw = new DataOutputStream(socket.getOutputStream());
    Writer wr = new OutputStreamWriter(raw);
    String command =
    "POST "+path+" HTTP/1.0\r\n"
    + "Content-type: multipart/form-data, boundary=mango\r\n"
    + "Content-length: " + ((int) theFile.length()) + "\r\n"
    + "\r\n"
    + "--mango\r\n"
    + "content-disposition: name=\"MAX_FILE_SIZE\"\r\n"
    + "\r\n"
    + "\r\n--mango\r\n"
    + "content-disposition: attachment; name=\"datafile\"" ;
    String filename="test.doc\"\r\n"
    + "Content-Type: text/doc\r\n"
    + "Content-Transfer-Encoding: binary\r\n"
    + "\r\n";
    wr.write(command);
    wr.flush();
    raw.write(theData);
    raw.flush( );
    wr.write("\r\n--mango--\r\n");
    wr.flush( );
    BufferedReader rd = new BufferedReader(new
    InputStreamReader(socket.getInputStream()));
    String line;
    while ((line = rd.readLine()) != null) {
    System.out.println("out"+line);
    wr.close();
    raw.close();
    socket.close();
    } catch (Exception e) {System.out.println(e.toString());}
    2)
    public void postMethod(String strURL, String filefrom){
    try {
    String fname = filefrom.substring(filefrom.lastIndexOf("/")+1, filefrom.length());
    File input=new File(filefrom);
    // Prepare HTTP post
    PostMethod post = new PostMethod(strURL);
    // Request content will be retrieved directly
    // from the input stream
    // Per default, the request content needs to be buffered
    // in order to determine its length.
    // Request body buffering can be avoided when
    // content length is explicitly specified
    post.setRequestEntity(new InputStreamRequestEntity(new FileInputStream(input), input.length()));
    // Specify content type and encoding
    // If content encoding is not explicitly specified
    // ISO-8859-1 is assumed
    //post.setRequestHeader("Content-type", "text/xml; charset=ISO-8859-1");
    post.setRequestHeader("Content-Type","multipart/form-data");
    post.setRequestHeader("Content-Disposition", "form-data; name="+fname);
    // Get HTTP client
    HttpClient httpclient = new HttpClient();
    // Execute request
    try {
    int result=httpclient.executeMethod(post);
    // Display status code
    System.out.println("Response status code: " +result);
    // Display response
    System.out.println("Response body: ");
    // System.out.println(post.getResponseBodyAsString());
    BufferedReader console = new BufferedReader(new InputStreamReader(post.getResponseBodyAsStream()));
    String name = null;
    String line = null;
    try {
    while ((line = console.readLine()) != null) {
    System.out.println("output"+line);
    //name = console.readLine();
    catch (IOException e) { name = "<" + e + ">"; }
    // System.out.println("Hello " + name);
    } finally {
    // Release current connection to the connection pool
    // once you are done
    post.releaseConnection();
    catch(IOException e){
    but am getting else condition response from php code
    but if i post with html code it is working fine.
    can anybody help me please where i have to change the code
    please suggest me. am in a big trouble and i have to complete this as soon as possible

    One thread is enough.
    http://forum.java.sun.com/thread.jspa?threadID=5198449
    You could have bumped it instead. Also, you still just posted a junk of unformatted stuff. Furthermore, for HttpClient support ask at an HttpClient mailing list of rorum.

  • Agentry Abdroid Branding version 6.0.40.1

    Hello All , how to set version name in agentry android branding version ? i set inside AgentryManifest.xml file but its not reflection . so when i try to upload in afaria , afaria got crash becasue couldnt find version name from branding client even though version name set . Can you please help on it ? Thanks & Regards,   Kunal Varaiya
    Tags edited by: Michael Appleby

    Kunal,
    Just to let you know, Agenytry 6.0.42 is now available on the SAP Download Center and contains the change to allow Android branding to a server/port without the Agentry.db.
    Also, please mark the question as answered so others can benefit.
    Glad you got it working.
    --Bill

  • To upload a file from client machine to server machine

    Hi everybody!
    Could anyone plz help me. I am struck in a problem
    I want to transfer a file from client's machine to server but I am not able to upload
    It is tranferring the file only to the local machine
    I am using orielley package It is transferring files only to my local machine but not to the server .Can anyone correct it. It's very urgent
    how to write the relative path for server
    I am using this path and it is not uploading
    MultipartRequest multi = new MultipartRequest(request, "../<administrator>:<dev2daask>@dev2:C:/123data/", 5 * 1024 * 1024);
    Here is my code:
    <%@ page import="java.util.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="com.oreilly.servlet.MultipartRequest"%>
    <%
    try {
    // Blindly take it on faith this is a multipart/form-data request
    // Construct a MultipartRequest to help read the information.
    // Pass in the request, a directory to saves files to, and the
    // maximum POST size we should attempt to handle.
    // Here we (rudely) write to the server root and impose 5 Meg limit.
    MultipartRequest multi = new MultipartRequest(request, "../<administrator>:<dev2daask>@dev2:C:/123data/", 5 * 1024 * 1024);
    out.println("<HTML>");
    out.println("<HEAD><TITLE>UploadTest</TITLE></HEAD>");
    out.println("<BODY>");
    out.println("<H1>UploadTest</H1>");
    // Print the parameters we received
    out.println("<H3>Params:</H3>");
    out.println("<PRE>");
    Enumeration params = multi.getParameterNames();
    while (params.hasMoreElements()) {
    String name = (String)params.nextElement();
    String value = multi.getParameter(name);
    out.println(name + " = " + value);
    out.println("</PRE>");
    // Show which files we received
    out.println("<H3>Files:</H3>");
    out.println("<PRE>");
    Enumeration files = multi.getFileNames();
    while (files.hasMoreElements()) {
    String name = (String)files.nextElement();
    String filename = multi.getFilesystemName(name);
    String type = multi.getContentType(name);
    File f = multi.getFile(name);
    out.println("name: " + name);
    out.println("filename: " + filename);
    out.println("type: " + type);
    if (f != null) {
    out.println("length: " + f.length());
    out.println();
    out.println("</PRE>");
    catch (Exception e) {
    out.println("<PRE>");
    out.println("</PRE>");
    out.println("</BODY></HTML>");
    %>

    you have not understood my point
    how does this code will run on servlet when I want to upload a file from client's
    machine to server machine
    what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
    All the computers are connected in LAN
    So how to upload a file from client's machine to server's machine
    Plz give me a solution

  • How to integrate 3D visual viewer with agentry android client

    Dear experts,
    I am working on SAP Work Manager 6.2,  integrating 3D visual viewer with agentry android client.
         - 3D Visualization is working with my WPF client
         - 3D Visualization is failing with my Android client (see below)
         - GIS is working on the same Android client.
    SAP® EAM and service mobile app SDK Installation Guide" version 1.0  indicates in step 5 to "Add Visual Enterprise libraries to the MobileAppsVELibrary project".  Could you confirm that this step is equivalent to copy contents of "DVL/Android/libs/" to libs folder of the MobileAppsVELibrary project? Is there other DLLs to copy in this step?
    3D Visualization on Android problem description:
    Code Levels:
    Eclipse => Luna 4.4.0 + ADT 23.0.4
    Agentry SDK => SMPAgentryClientFramework-Android-70.5.1.10.zip
    Mobile Apps Open UI SDK 1.0 => 51048778_5.zip
    SAP 3D SDK => SAP3DVisualEnterpriseApplicationsSDKv2_1.zip
    PB description:
    If I display VDS attachment, the screen is blank.
    ( If I display the 2nd attachment (image/jpeg), the image is displayed successfully on the Android device )
    ( If I click on the Locations link , the map is displayed successfully )
    I do not see an error the the android log.
    I am also getting some encrypted information on the Android client when I double click the blank screen and hit left/right arrows
    Regards.
    Regards.

    Hi Kunal,
    Thanks for your help. How do I checked that I have properly included the DVL libraries?
    I have implemented the following steps: (text in italic is extracted from the SAP® EAM and service mobile app SDK Installation Guide" )
    Thanks again. Didier.
    1. Add the Agentry SDK - Follow the instructions from the Open UI SDK documentation to set up the Android environment with Agentry Open UI projects in Eclipse.
    2. Add Common Library project in Eclipse
    3. Add VE Library project in Eclipse
    I have created the following projects from the files
    SMPAgentryClientFramework-Android-70.5.1.10.zip
    Mobile Apps Open UI SDK 1.0.51048778_5.zip
    b. Add MobileAppsVELibrary as a library in the AgentryAndroidClientSolution project.
    c. Copy the activities declaration
     AndroidManifest.xml
    4. Add VE Resources Library project in Eclipse
    5. Add Visual Enterprise libraries to the MobileAppsVELibrary project
    I have copy the libDVL.so files into AgentryAndroidClientSolition libs folder from the file SAP3DVisualEnterpriseApplicationsSDKv2_1.zip

  • As a mobile me user I uploaded my photographs for clients to view and download. How do I do this in ICloud?

    As a mobile me user I uploaded my photographs for clients to view and download. Can and how do I do this in ICloud?

    You can't.  The Gallery service in MobileMe does not exist in iCloud.  You will need to switch to another photo hosting web site.

  • How can I allow a user (client) to choose a local image file (on his hard d

    How can I allow a user (client) to choose a local image file (on his hard drive) and modify it using an applet from his browser ? I am trying to develop a web page that enables the user to choose an Image file, manipulate the image using a java applet, and display the results.
    Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. On the other hand, I can choose and upload any file using a JavaScript form:
    <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="process.asp">
    <INPUT TYPE=FILE NAME="file1"><BR>

    It seems that I can choose an image file with a Java script form and process an image with an applet. How can I choose a file AND process it locally ?
    (I do not wish to upload the file to the server using JavaScript form and then back to the client�s applet for processing since it will be a tremendous waste of resources).
    Will appreciate any solution.
    Thanks !
    ( my email is: [email protected] )

    "Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. "
    You can do this if you sign the applet...

  • How to put image file on client machine through JBOSS

    I need to imlement the functionality like google map on website, where my server is JBOSS
    server. We used the newest technology SVG(scalable vector graphics) which doesn't loose the
    image quaility on increasing the size of the image.
    we are doing backend processing of the image and throwing the png images on the client.
    machine. I already written a program which can be used at the time of zooming and panning
    of the image and can throw the image but that is all PC based. but when I am implementing
    on the server it is giving error because code is not getting any output directory to save
    the image on sever.
    Please tell me if that can be happen through caching or how can I save image on
    client machine without user authenication and can retrieve on the web page. so that my
    server doesn't have extra load.

    hi jagdish,
    Check this thread. discussed uploading file step by step
    Re: How to upload and search a document in KM
    Regards,
    Ganesh N

  • How to upload a file in BPEL Console Using JSP in JDeveloper, please help..

    Please I am new to Jdeveloper and to BPEL Process of OASuite,I want to know , how to upload a file in BPEL process using JSP in Jdeveloper IDE.
    The main aim is first we need to upload a file in JSP , it has to go to BPEL Process & it has to read the file & write the respective file in return to JSP through BPEL Process. Please I am in Urgent need of the Query , please help me ASAP.
    Send to me response Please.....................................

    Hi,
    I thin that you asked the same question before and I premember that I ointed you to the ADF BC developer guide and the SRDemo if your application uses JSF. For plain JSP - if you Google for: JSP and file upload then you find plenty of sources for JSP and Struts.
    The remaining part is how to stiff the file into a BPEL service on the middle tier. For this I recommended to ask your question on the BPEL forum
    BPEL
    Note that the BPEL integration would be easier if it was done on the middle tier and not onthe client
    Frank

  • How to upload Purchase oder text through BDC. or BAPI

    Hi...
       I wish to know how to upload purchase oder text wich is in MM01 t-code and has a screen number 4040 and program name SAPLMGMM, i want to migrate a material master data to another client by this fields, Basic, Purchasing, Purchase oder text ( long text), general plant date/storage1 and accounting. for that i am suspicious about uploading a purchase oder text with bdc...if i am true how i can have this by bapi or another means...please help me
    ...thaking you....

    Hi,
    Use FM - BAPI_PO_CREATE1
    It will fetch both HEADER and ITEM text.
    This module is used to create a PO and as u r involved in a data migration, I can suggest to use this one.
    Hope It'll help.
    Thanks & Regards,
    Ankur

  • How to Upload WIP Production orders in production during Cutover.

    How to Upload the Open Production orders in production system during cutover activities.
    my client is having 1000 open production order(WIP), during cutover activies how to upload this in production.
    Please guide me
    Regards
    Sunil Patil.

    Hi,
    I somewhat agree with what Raj has to say. Something which is already in process how can that be uploaded, how can one compensate for the time which has been consumed in the production activity.
    I hope Rupesh Brahamakar sir would throw light on this issue, as most of us are under the dillema at the time of Cut-Over activity.
    Sir, hoping your valueable inputs.
    Regards,
    Harris

  • How to Upload a PDF file into BLOB column in a table using Forms 9i

    Can anyone tell me how to upload a PDF file from client system using File dialog window and store its content in BLOB column in a table. The file to be uploaded will be in client side.

    Hi,
    please, search a bit on the forum before do a question:
    Just searching by "upload blob pdf" ...
    How to batch upload PDF files into database BLOB
    Regards,
    Jose.

Maybe you are looking for

  • User Profiles option missing from SharePoint Designer 2013 workflows

    I noticed the User Profiles is missing as a Data Source option in the SharePoint Designer 2013 workflow platform (see image); whereas, it exists in the SharePoint 2010 workflow platform. Is there a way to connect this feature in SharePoint 2013 workf

  • Please help, I broke the Finder

    I think I broke the Finder. I was trying to transfer some photos as my disk space was running low and I was trying to clean up and back up stuff so I could install Leopard. I had a bunch of photos I was trying to drag and drop from one folder on the

  • Using Flash Catalyst to create a portfolio gallery... Problems

    I'm using Fc to create a portfolio site, yet have been struggling with creating a gallery that shows the way I want it to. I've tried to streamline the process using states and substates, as several people have suggested to others, yet I'm having a d

  • Editable field gives wrong value in report.

    Hi, I have report with some editable fields. I am using apex_item for one editable select list. I gave functionality to update row by providing go button. when user clicks on go button, I sends page by using javascript dosubmit which updates values i

  • Internet Explorer 11 Reverts to Custom level Security

    I set IE11 Security level to DEFAULT, but the level keeps reverting to CUSTOM. I would appreciate assistance in correcting this problem.