• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. D

    How do I use just one drawerlayout with all views?

    I have an applications that's running just fine but I've duplicated the drawerlayout on every view page and also had to set all the click events and listeners in all the associated activities for each view so all the buttons work. This is a nightmare when adding new views because I have to set...
  2. D

    Trying to update fragment from another fragment

    Hi, I have an activity which defines 5 fragments in a ViewPager and I can swipe between all 5 fragments. private void setupViewPager(ViewPager viewPager) { adapter = new ViewPagerAdapter(getSupportFragmentManager()); quoteDetailsFragment =new QuoteDetailsFragment()...
  3. D

    Local application takes too long to process items from database

    Hi, I have built an application where the user can enter some information and it will generate an on screen quote, automatically refreshing it as they modify each input. Currently it needs to work without internet so I'm synchronizing the database as connectivity is available and I'm running the...
  4. D

    App Inventor External database synchonization is using up all local memory.

    I currently have this fully working, it's just using up all my RAM and my application can'at do anything else. My application allows a salesman to do a quote for a customer and it will download any new quotes it finds on the server from other salesman, plus upload any quotes it has done while...
  5. D

    Apps Can I have a scrollable list inside a swipeable ViewPager?

    I'm looking for a 6 tab view where each tab has a ListView of items on it and you can scroll up or down on this list. Or you can click another tab and view another list on that tab. I can't seem to get both of these working together, I either get one view or the other, not both. - If possible...
  6. D

    Apps Am I loading album art correctly in my media player?

    I made a media remote which controls the songs playing on a remote computer like a home theatre system in a house. I'm wondering if I'm going in the right direction with it, please lend your suggestions. version 1: I had an application which sent command line arguments to the remote computer...
  7. D

    Apps How can I manage a JSCH SSH session connection across classes?

    I have an Android application which connects to my desktop via SSH when I load it, it works fine. When I click a button on the interface on my phone, it sends a command through the SSH connection to be executed on my desktop, that works fine also. The problem is I have one class that opens the...
  8. D

    Apps How can I get the URI of the currently playing song on my computer?

    I have an Android application I wrote which connects to my desktop computer via SSH and I can send commands through the connection. It works great for changing the song and stuff but I'd like to load the album art either: a) from the cover.jpg file in the folder with the song b) from the ID3...
  9. D

    Apps How can I load images from a remote location?

    How can I load an image from the web onto my phone without typing in the URL? I want to create a media application but load the cover for each song from specific locations on the web. How can I load the remote images as simple as possible? Every tutorial I try online crashes on startup.
  10. D

    Apps How do I perform network calls without changing policies?

    I'm using the JSCH library to connect my phone to my desktop via SSH and run command line arguments on my desktop from my phone. Here is the method I'm using to communicate with the JSCH library and run the command: public static String executeRemoteCommand( String username...
  11. D

    Apps Could not find class 'com.jcraft.jsch.JSch', referenced from method

    I'm attempting to follow the very simple SSH tutorial located here and when I run it, I get the following error from Logcat. 05-27 22:45:10.498: E/dalvikvm(571): Could not find class 'com.jcraft.jsch.JSch', referenced from method ssh.test.two.Sshtest2Activity.executeRemoteCommand I see the...
  12. D

    Apps How can I send commands to my desktop?

    I have ConnectBot and right now I'm manually typing commands which I would like to run on my desktop machine remotely. I'd like to create an Android application with a user interface where I can just tap a button and had it run an associated command. I'm assuming I would need to continue doing...
  13. D

    Apps Am I developing this properly?

    Right now I have an Android application I made and it has a list of items I can select. The list of items is displayed from an array of Strings and I use a case switch to check which one was clicked. This is very bad because it's a case switch which checks the ID of the clicked item and there...
  14. D

    Am I developing this application correctly?

    I couldn't find a specific support forum here, I'm hoping I posted this in the right place and someone can help me. Right now I have an Android application I made and it has a list of items I can select. The list of items is displayed from an array of Strings and I use a case switch to check...