Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Andy_Bell

@Andy_Bell
About
Posts
20
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Realm EJB in Wildfly
    A Andy_Bell

    I have configured Realm with JDBC, but when I try to login I get this message in Console

    TRACE [org.jboss.as.domain.management.security] (default task-1) User 'UserNameDGU' not found in properties file.

    and before I have seen this:

    DEBUG [org.wildfly.security] (management I/O-1) Unable to create instance: java.security.NoSuchAlgorithmException: Service not registered with Provider WildFlyElytron: WildFlyElytron: SaslServerFactory.DIGEST-SHA -> org.wildfly.security.sasl.digest.DigestServerFactory

    Java database sysadmin security question announcement

  • Realm EJB in Wildfly
    A Andy_Bell

    I'm reading this guide, very interesting. I will ask you about it when I have more specific doubts.

    Java database sysadmin security question announcement

  • Realm EJB in Wildfly
    A Andy_Bell

    I'm using Wildfly 20.0 version. I would like to use JDBC in Wldfly for my dynamic web project (with JSF and EJB). So I'm looking for configuring the server to handle security by JDBC connection to database which stores user/role/userrole. What can I to for my purpose?

    Java database sysadmin security question announcement

  • Android Notification by App
    A Andy_Bell

    Sorry, why not?

    Android android sysadmin help tutorial question

  • Android Notification by App
    A Andy_Bell

    Thanks a lot. No is the first one. Server should notify news incoming to the app when we have uploaded new articles in our database. So user should be advise.

    Android android sysadmin help tutorial question

  • Android Notification by App
    A Andy_Bell

    Good evening I need to insert notifications in my Android application. This is something similar to RSS service. Therefore I have inserted NotificationCompat.Builder, and Pendig Intent to this purpose. When user selects corresponding item the application is restarted and updated. But I have a problem, I don't have idea how to fire the notification. I'm thinking to start something like a Timer, every 15-30 minutes connect to server and look for new event released. If there is one, I'll fire Notification through the corresponded object. Is this a best prtacice? Is there any better way to do? I would appreciate any sugestions. Thanks a lot.

    Android android sysadmin help tutorial question

  • Xcode and I phone for debug
    A Andy_Bell

    Good moring I'm starting to learn IoS developing. I need to know if I can use Xcode v. 8.0 to an old 4S / 4 Apple Iphone. I have this old I phone version and I want to use the 8.0 release if Xcode. So is it possible to connect 4S / 4 I phone to this Xcode version? Thanks

    iOS ios announcement swift debugging question

  • Target Ios with Xcode version
    A Andy_Bell

    Good evening I have a question about Ios target. If we develope an application for Ios devices, using certain Xcode release (for example 4.4), can this application be installed in all I-phone versions? There are restrictions for Xcode version and I-phone? Thank you.

    iOS question announcement swift ios tutorial

  • Manage auto update
    A Andy_Bell

    Thank you for repaly. Last days I have made some tests. Now I can recal new intent to unistal my application, after downloading and storing new version in Download folder. I have found the routine to send Intent for installing the new version. Here is the code for this two procedures:

    Uri packageURI = Uri.parse("package:com.example.nameapp");
    Intent uninstallIntent = new Intent(Intent.ACTION_DELETE, packageURI);
    startActivityForResult(uninstallIntent, PICK_CONTACT_UPDATE);
    //
    Intent intent = new Intent(Intent.ACTION_VIEW);
    intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/download/" + nomeApp)), "application/vnd.android.package-archive");
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    startActivity(intent);//installation is not working

    But when application executes unistallation, it is arrested and it cant't execute the install procedure (loading II intent). How can I execute II intent after unistallation? Is it possible? How can I do?

    Android announcement android question sysadmin

  • Manage auto update
    A Andy_Bell

    Good evening I have implemented an application with auto update function. When I release new version on my server then application downloads new .apk and it starts an intent to install new .apk file. I want to change this procedure, if it's possible. Before installing new version, I want that application should be able to uninstall itself. How can I do? Now I'm thinking to remove all file in Android system's folder reserved to this application, but is it a good way? What can you sugest me? Thank you.

    Android announcement android question sysadmin

  • Realize multipage app
    A Andy_Bell

    Good evening I want to realize multipages application. I have to use a slide menu (in left side); all page are reached by item in this menu and it should be visible in all pages. In this moment I have realized slide menu in main application: an Activity, I have to implement the other pages but I don't know how to do it. What is the best practice, in this case? Should the other pages be realized like subActivity starting them by StartActivityForResult? Or is it better starting them as indipendent pages whit StartActivity? In last case I must relicate the slide menu... Thank you very much.

    Android question tutorial discussion

  • Problem with custom row in List View
    A Andy_Bell

    Yes of course. Reducing this value I can restrict row (defined in "list_row.xml") but the problem remain: space between 2 line remains the same. I think it's like the problem is in ListView and not in the custom row.....

    Android xml help learning

  • Problem with custom row in List View
    A Andy_Bell

    I have problem with layout in my application. I'm using list view and I have defined a custom list row. The program is correctly executed, but layout has some problem. The space between two consecutive row is excessive... This is XML code that I use in application layout (main) "activityMain.xml"

    and this is the custm row in XML resource ("list_row.xml")

    Android xml help learning

  • How download picture
    A Andy_Bell

    No matter, I open another discussion. Thanks, you've been helpful!

    Android question csharp java graphics performance

  • How download picture
    A Andy_Bell

    Wonderful. Just another curiosity, if I can... If I start thread with Thread instance and Run method, how can I kill this and, if it's required, restarting when it's required. Can I use thread.destroy() ?

    Android question csharp java graphics performance

  • How download picture
    A Andy_Bell

    I haven't save file, I use only code attached in previous post. What I've been doing is connecting with HttpURLConnection at url of the image, downloading file and reading input stream. I think, doing in this way, I have a temp copy of image file stored in Android folder, but I don't know what it is.Isn't it? Thank you!

    Android question csharp java graphics performance

  • How download picture
    A Andy_Bell

    Ok so unistalling my application, user can completly removed images downloaded. I have another question about. Where is the folder that contains those files?

    Android question csharp java graphics performance

  • How download picture
    A Andy_Bell

    Good evening. I try to download picture form url and insert in Image View. I use this code to do it:

    public Bitmap getBitmapFromURL(String src) {
    Bitmap myBitmap = null;
    try {
    java.net.URL url = new java.net.URL(src);
    HttpURLConnection connection = (HttpURLConnection) url
    .openConnection();
    connection.setDoInput(true);
    connection.connect();
    InputStream input = connection.getInputStream();
    myBitmap = BitmapFactory.decodeStream(input);
    return myBitmap;
    } catch (IOException e) {
    e.printStackTrace();
    return null;
    }
    }

    I just want to ask you, there is problem to do so, or is it inefficient? Closing this application, remains the downloaded picture remains in memory? If I want to free memory resource, how can I cancel this files (accumulated in time)?

    Android question csharp java graphics performance

  • How Android derives from Java
    A Andy_Bell

    Thank you for repaly. So I can't find in Java "component" or resources like Intent, BroadCast Receiver and so on... Isn't it? How can I replace those (i.e. event, event handler, back ground task)?

    Java android java question

  • How Android derives from Java
    A Andy_Bell

    I'm studing Android language in Android Studio. I know that Anrdoid language is derived by Java, but I desired to review my knowledge on Java programming. So, how is Android libraries similar to Java? Can I find in Java packages and programming-techniques the same components like: Broad Cast Reciver, Intent, Intent Filter and so on?

    Java android java question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups