Running the same app multiple times - Android Q&A, Help & Troubleshooting

Please forgive me if this has been asked and answered but nothing that I saw in my search actually answered this. What I would like to do is to run 2 instances of an application or more. The issue is that I am using an RDP program that allows me to attach to a single connection, the kick is that I need the ability to toggle between those machines and the app does not do that natively. I can also see it being useful for a situation when you need to toggle between two documents that are both open with the same application.
I know that it is really not made to do this natively but if there is are ROMs that include that functionality or a way to alter android to do this, I would give many thanks and possibly donate to whoever can come up with a working solution. In addition, it would be great to be able to tell the system which applications can and can't function that way.
I currently have a nexus 7, transformer prime and transformer infinity to test this with.

Anyone? I really need some ideas.

Can anyone give me some advise at least? I have seen things in the android dev documentation that imply that there are ways to make this work. It seems like there are also controls that can be coded into the application itself to allow this.
I am not really a developer and am just looking for some input even if it is just to crap all over my desire to do this.

Please someone... anyone have ANY ideas?

Related

[Q] Interfacing with a java application

I'm developing a touch screen based system for controlling electronic music. As part of the development, we'll be building our own touch screen, but that's not going to be ready for some time. In the mean time, I need to start writing the software (which will be done in java), and I'm going to need a touch screen to use for testing.
So, I am NOT trying to write an application for the Galaxy Tab. I am writing a application that runs on the my desktop, and I'd like it to be able to get touch information from the Galaxy, in any way practical. I've looked into using an iPad for this, but it looks to be too much of a pain to be worth it. All I need is a way of my java application receiving the list of co-ordinates of touches from the tab, in real time. I don't need any higher level gesture interpretation (as I'll have to do that on my end for the final system anyway), just all the touch co-ordinates. Does anyone have a suggestion on the best way to go about this? Is there something in existence already to accomplish this easily, or is there any kind of java library I can use to make calls to a connected tab from my application? I've been googling around, but haven't found any particularly useful information on the subject, as the tab is chiefly meant to be a stand-alone item, not a pc peripheral. Any tips on where I might start looking would be a huge help. Thanks!
-cullam
cullambl said:
I'm developing a touch screen based system for controlling electronic music. As part of the development, we'll be building our own touch screen, but that's not going to be ready for some time. In the mean time, I need to start writing the software (which will be done in java), and I'm going to need a touch screen to use for testing.
So, I am NOT trying to write an application for the Galaxy Tab. I am writing a application that runs on the my desktop, and I'd like it to be able to get touch information from the Galaxy, in any way practical. I've looked into using an iPad for this, but it looks to be too much of a pain to be worth it. All I need is a way of my java application receiving the list of co-ordinates of touches from the tab, in real time. I don't need any higher level gesture interpretation (as I'll have to do that on my end for the final system anyway), just all the touch co-ordinates. Does anyone have a suggestion on the best way to go about this? Is there something in existence already to accomplish this easily, or is there any kind of java library I can use to make calls to a connected tab from my application? I've been googling around, but haven't found any particularly useful information on the subject, as the tab is chiefly meant to be a stand-alone item, not a pc peripheral. Any tips on where I might start looking would be a huge help. Thanks!
-cullam
Click to expand...
Click to collapse
Ok, well I'm going to try and be brief and not turn this into an Android programming essay so here goes.
You have a couple of different routes you can take.
1. If you use eclipse for development and you hook up your tablet, you can watch the log and see that it prints useful information constantly, basically debug output that tells you whats going on in the background. If you just want to look at it, you can probably see it there.
2. This would be my choice, but I'm a programmer so I love a new adventure. I would recommend you just write a quick app for your tablet that pumps out the location of a touch whenever you touch the screen. If you are familiar with sockets and such, you can just write a simple server Java app that collects packets of data from your tablet, and just have the tablet send out a multicast packet containing the coordinates you touch every time you touch the screen.
There are probably some other ways, but if you are already going to be doing the bulk of the project in Java, you aren't looking at a difficult learning curve to write a basic little android app.
Thanks! I'll definitely try the eclipse trick. And yeah, writing an app on the tab is probably going to be necessary, but MUCH easier than having to learn a new language, and get an official license to do one on the iPad. The thing I'm really unsure about is the available communication methods for getting data back and forth between them. I was hoping there might be some sort of java api to get calls going through the usb connection. So I'll guess I'll see what the Eclipse hook up shows me.
cullambl said:
Thanks! I'll definitely try the eclipse trick. And yeah, writing an app on the tab is probably going to be necessary, but MUCH easier than having to learn a new language, and get an official license to do one on the iPad. The thing I'm really unsure about is the available communication methods for getting data back and forth between them. I was hoping there might be some sort of java api to get calls going through the usb connection. So I'll guess I'll see what the Eclipse hook up shows me.
Click to expand...
Click to collapse
apple stuff is crap anyways, leave them to their pretentious commercials and closed minded development.
as far as the android sdk, I think it will take you a lot less time to just use network communications. google socket client/server java tutorials and you should be set to go in about 2 hours. I have implemented it, its all straight forward, and imho probably an easier app to write that something that pumps out of the usb port
Awesome, thanks

[Q] Mapping Touchscreen to Physical Keys?

Alright this is going to be a doozy of a post for my first one on XDA. While playing this game today called Exitium, I got a crazy idea in my head. "What if there was a way to take games with virtual controllers (D-Pad and buttons) and map them to physical keys?" Either on a built-in keyboard like the Droid 4, or the Xperia Play's keys, or even mapping them to a third party device such as a bluetooth keyboard or Wiimote/PS3 controller.
Obviously the easiest solution here is to contact the developer and request hardware button support within the game you are wanting to play. But...
I have looked everywhere and have not found an outside application that attempts to do this. So after a long talk with a friend of mine, we came up with some rough draft ideas of how this could be done. Unfortunately neither of us have a lick of sense when it comes to actual programming and the idea of creating this from the ground up seems impossible at our level.
So what I was wondering, is if there already is an app out there that can take a point on the touchscreen, and assign it to a keypress on a physical device? And if not, are there any developers out there willing to give this a stab (and I'd obviously give as much input as I possibly could), or someone willing to help me try to understand where I'd even begin to make something like this?
I know this probably sounds like a mess but I promise I tried to make it as simple and coherent as I possibly could. Thanks for taking the time to read this.
Hoping!! BEGGING!!!!
I would love to see this - like a more universal version of sixaxis mapper. it could work with keyboards or any game controller or mouse. even really useful for phones that have physical keyboards attached! Hope one of these pops up. I couldn't find any so far ...
I often use keyboard with my N7 and i have thought about this many times, it would be very useful for playing games... I'm sure that many ppl had the same idea.
I don't know about any apps that can do this, but it already exists as a built in feature in a kind of a console tablet hybrid called "archos gamepad", so hopefully some apps like this could soon come to google play...
To all developers: please make it, i would have no problem paying $5 for such an app.
Sent from my Nexus 7 using xda app-developers app

What tools/apps do you use?

Hows it going guys. I'm on these forums as well as many others constantly. I'm constantly trying new stuff (Tools, apps, mods, ROMS, Kernels, etc) and have always wondered what other people from the community used. So if you would post some apps/tools you would recommend for any purpose. Whether it be for games/mods/messaging/etc because I plan on going through and trying everything posted. I might find something very useful i havent before. Anyways thanks for taking the time
App:
Location to download:
Purpose:
Best feature about it:
Lol not one person has any apps or tools they would recommend? Wow
The tool that I use the most (besides the standard ones provided by Google) is ADB WiFi. It lets me debug my tablet and phone over wifi so i never have to go looking for my usb cable when I want to test some quick code. The one to note about this app is that it requires root so if your not rooted then this will not work for you!

[Q] Why has AOSP corrupted my SMS/Mms .db? Works on AOSP not Samsung though?

I have tried the search button have anything relatively close nor the right type of people already commenting them...further to that those that are key with understanding in this area have "not contactable by PM or email" in their profiles
Anyway, it seems that searching via Google shows that I am not the only one that is suffering from a related issue??
http://techie-buzz.com/how-to/how-to-open-db-files.html
Here too http://forum.xda-developers.com/showthread.php?t=521248
Read comments here....and we all know .db files are not unique to android alone, however the being able (or should I say not able) to assess the .db file in anything but android IS!
I have been running CM9/Oncecosmic and several other iterations of AOSP ICS early January. I keep a nearly all of my SMS/ Mms, its habit and I like to be able to access the information should it be needed. I have gone from Samsung -> to AOSP -> and now "trying" to go back again.
I have since migrated to SGSII (from SGS1) and have realised that the Mms .db will only open in an AOSP apk? If I attempt to open the .db file in Samsung it force closes. I am have been forced to run a hacked ROM now as I want to be back on Samsung based ROM, so I have gone about hacking the services.jar to bypass signature checking of apks just in order to run an AOSP app so that I can access and continue to use my Mms.
I don't want to wipe and refuse to believe that this is the only answer and that these isn't some kind of fix for it?
If someone is able to shed any light on this subject and as to why the Mms is corrupt when only viewed in anything but AOSP apps and/or a fix to be able to make this .db work again inside of Samsung I will happily send a donation. I donate to a lot of people on this forum, and am very appreciate of developers time as well as of this community as a whole.
Thanks,
James
Edit: Yes I have tried to clear caches and so forth, I am no n00b....save the condescending replies
26 views and no replies
Surely someone out there understands the complexities of the Mms .db? I can't even view any content inside of it outside of Android its self. I am used to a PC and a keyboard and SQL DB and its just f*%#ed on a phone, not to mention totally different syntax to what I am used to. Does anyone know of any application that can view this data? Anything SQLite DB viewer on Source forge doesn’t work.
Jesus Freak where are you? I'm jokin, you probably get hit up about a million posts a day hense your set to not contactable. Anyone with as much knowledge that is willing to help feel free to respond.

[Q] Remote access app

Hi.
I'm new here, so apologies in advance if i ask a question that was handled in a previous thread.
I'm looking for a decent app that will allow me to control an android device from a pc. I have a tablet that is being used as a kiosk device and i would like to connect remotely and check the status of apps, run scripts, generally just troubleshoot issues that might pop up from time to time. I would like screen sharing also, that would make things a lot easier. I've tried webkey, teamviewer, airdroid but none of them give me the kind of functionality I need
At the moment I'm using a Nexus 7, but I'd like the app to work on any device. In future we might start using generic android devices, nothing brand-specific.
Any help in this regard would be greatly appreciated
meshegan said:
Hi.
I'm new here, so apologies in advance if i ask a question that was handled in a previous thread.
I'm looking for a decent app that will allow me to control an android device from a pc. I have a tablet that is being used as a kiosk device and i would like to connect remotely and check the status of apps, run scripts, generally just troubleshoot issues that might pop up from time to time. I would like screen sharing also, that would make things a lot easier. I've tried webkey, teamviewer, airdroid but none of them give me the kind of functionality I need
At the moment I'm using a Nexus 7, but I'd like the app to work on any device. In future we might start using generic android devices, nothing brand-specific.
Any help in this regard would be greatly appreciated
Click to expand...
Click to collapse
Hey,
once there was ShareKM the dev kinda dropped the projekt. I found some Guides for it because the old version stopped working.
Here is the original thread ShareKM on XDA
If you read it a bit they start to talk about the workarounds.
Hope that helps you I'm also very interested in this.
i found app that will help you to remotely control your tablet
BBQ Screen Remote Control
screen.bbqdroid.org/
it is a paid app
but you can search and download its apk in google
shubham1358 said:
BBQ Screen Remote Control
screen.bbqdroid.org/
it is a paid app
but you can search and download its apk in google
Click to expand...
Click to collapse
Thanks. But as far as I can see, this only works if the pc and android device are on the same network. My kiosk devices are hundreds of kilometers away, so I need something that works over the internet

Categories

Resources