[Q] Tasker guru needed - Samsung Infuse 4G

Looking for a way to pass variable or setting to an app when it starts. In particular the camera, for instance if I want to shoot a lower res image without going through 4 screens to change it.
Searched this forum and androidcentral and google, nothing helpful found. there were a couple of posts asking how to send a variable to an app but...
I guess it would be similar to a command line entry in practice like
camera -res:640 -flashn
or camera -res:3264 -macro
(I just made these up cuz I also can't find the variable/settings for the camera)
A one touch button on the home screen for this would be ideal, also with an automatic "snap" for a picture kinda like the spycam apps that are available.
Thanks!

Not sure, but Tasker might do that find it in the market then visit the devs site for free 7 day trial
CM7, Nightly. Captivate

I've got tasker installed already and can make it do basic stuff. The user guide doesn't tell how to pass a variable to a program when it starts.
I suppose I would also need to know what variables the camera app is expecting to see.

Related

Android devs, some ideas for you.

Hey all
I hadn't been on these boards for sometime, but you all know how it goes.... get a new phone, void the warranty right away by doing neat tricks you pick up in xda-dev forums.... or is that just me?
Well anyways, I've got 2 request for those devs that need ideas for some apps (I know there's at least 2 threads started by others that deal with this, but my requests don't fit either of the threads I've seen). First off a GPS data logger would be terrific, the camera on this phone is not bad at all, so it would be cool to be able to tag pictures with geographical data, better yet is to be able to tag any picture by using time/date of creation. This way you can take pictures with you're regular camera and still tag them (we all know the g1's battery isn't exactly going to be winning any marathons just yet).
The other idea centers around voice dialing. I'm loving this phone, but everytime I need to dial a # I miss my wizard; why you ask? well because anytime I would dial one of my contacts I would use voice command to dial the #. Now I've tried the voice dialer on the g1... not impressed, I mean it's like WAY OFF. How does "call home" translate to "call cheche"???, worst still is a cough get's translated into dialing "732 277 2222". Still I know that with some practice I'll figure it out. What's the problem you ask? well the whole point of having voice dialing is having the least amount of physical interaction with your phone to dial, at least that's what I think. As those of you that have tried it know, you either have to long press the call button, or worst still go in to the menu to start the voice dialer. On BT headsets the voice dial button doesn't do anything at all (tried 4 different ones), and the wired headset the button pauses music if tapped, while long presses start up the music player, and maybe it FF tracks while playing, not sure. Anyways without further ado, either a voice dialing app (unlikely I know), or an app that can change the assignment of hardware buttons. Can I actually make this change with AnyCut?.... if so I just feel I've type so much in vain
Anywho, recap:
1) GPS data logger.
2) Voice dialing app, or more realistically app to change hardware button assigments.
1. tried the "gps tracker" on the market?
cmavr8 said:
1. tried the "gps tracker" on the market?
Click to expand...
Click to collapse
GPSTracker dont allow Geo Tagging of Photos
I know, but I though he just needed to track his position so he would manually add the tags to the photos when home.
He mentioned "just a regular camera"... He would just use the timestamps on the pictures and the tracker data...
It has logging capabilities? I think I must have read the description wrong then. That's very possible since I had just gotten home after a grueling 14 hr shift. Well I'll give it a try then. Still some options wouldn't be bad.
Yes, it takes a sample of your coordinates and speed every xx seconds and uploads it to a site. xx is configurable.
You can visit the site and see all your positions and velocities on a map.
cmavr8 said:
Yes, it takes a sample of your coordinates and speed every xx seconds and uploads it to a site. xx is configurable.
You can visit the site and see all your positions and velocities on a map.
Click to expand...
Click to collapse
Yeah I tried it last night, this can definitely work. I wouldn't mind if there was some way to tag them on the phone itself..... yes I know humans are impossible to please.
Umm it tags your location data already... when in camera app hit menu settings and store location in pictures. Which records location in the picture data.
For anyone that wants to set it up to store location for other cameras... I would say take a pic with the g1 where you take a pic with another camera. For right now that is.
neoobs said:
Umm it tags your location data already... when in camera app hit menu settings and store location in pictures. Which records location in the picture data.
For anyone that wants to set it up to store location for other cameras... I would say take a pic with the g1 where you take a pic with another camera. For right now that is.
Click to expand...
Click to collapse
Get the f*ck outta here!!!! LOL! Truth be told I just took a sample pic with the camera to check out the quality. As you can tell I didn't bother to press the menu button. As far as other cameras goes, I think GPS Tracker is a better choice, well for me it is. It can export to the travel log, so it's much easier. This way I just need my G1 to be on me, and with the app running in the background. I think I better think about getting an extra battery before that though.
Request??
Now that we have root and bb linked to the system. Is somebody working on an application with a gui to first list services and applications running. Then to stop/kill services and applications. Possibly with safe guardiing the specific kernal process' that will cause headaches? Could be usefull while running programs such as myspace, steel, pacman and the many other applications that never fully close once run and slow the G1 to intolera
Intolerable speed. My two cents
Well memory up professional might help out; although, the process is automated, so it's not like you can choose what to close. Still, for what I've heard Android supposedly does a good job of making memory available. Try it out though, it might help you.
masr1979 said:
Well memory up professional might help out; although, the process is automated, so it's not like you can choose what to close. Still, for what I've heard Android supposedly does a good job of making memory available. Try it out though, it might help you.
Click to expand...
Click to collapse
$15 i think not. Way too much money for a memory manager!

[App Idea/Request] GPS Video Overlay / Data Logger

Hey, might be a very limited market, but I was wondering if anyone knew, or could code an app that overlays the video camera (or is its own video camera) with GPS information.
In theory it shouldn't be too hard to do, poll the GPS for speed, the compass for direction and stick them at the bottom of a video overlay along with the system date and time on top of the camera, then record the total image/video to the SD card.
I got thinking about this after picking up my car dock and having a play around with it (inadvertently managing to record a drivers eye view of my journey home!). It would be a great app for trackdays etc, you could even output the GPS NMEA data to a KMZ file and import it into google earth, or given some fine tuning make it into a very basic GPS data logger...
Anyways, thinking out loud here If anyone can do it let me know, I can code basic stuff, but something like that is way out of my league...
Cheers
Sounds like a nice application. To take it even further: http://www.youtube.com/watch?v=rgXzdUb_fug I think this is an even greater use of camera + gps.
The only thing about making it into an augmented reality nav system is that it will still require mapping information, and the prob with that is that the free ones have pretty mad amounts of errors, and the paid ones need megabux spending (and they still have loads of errors).
With my idea, it's not an A/R system - it's simply a video overlay of info that's already in the phone. The major problem I see would be polling it, interpreting it, and writing it to the video at 30fps or whatever the unit captures at.
I do like that app tho, but it's not really what I envisaged with this
So you want to record a video similar to this? http://www.youtube.com/watch?v=NdAIaIOySoA for afterwards playback only? If so, I think this is possible only to store video + gps information in seperate files. The recorded video will be recorded as a normal video. The gps data can be stored using a kmz file with a sort of timestamp. Afterwards these 2 files can be played back with a application on the android device which reads these two files and overlays the video playback with the data from the kmz file.
I guess it will be to hard to create an application that records video and embeds the recorded gps data into the recorded video. Maybe someone with more knowledge of the android API can say something about this?
yep, got it in one... Although it would be for playback on the PC rather than on the phone.
The standard format is .3GPP, which is nice and small (comparitively speaking) and good quality too, and plays on a PC through Quicktime / VLC no problem.
I honestly think it would be perfectly doable... I just can't do it!!!
It sounds cool, but is it useful? Will anyone actually read the data/time/lat/long on the bottom of the screen during playback?
On top of that it will make the cpu work extra hard putting the text on every video frame.
Another idea is to use the timed-text stream (subtitles) in the mp4 file. (more)
Dont know how much work is involved.
It is a pretty specialist app, however I reckon people would use it for timing laps etc.
Look at how many in-car videos there are of trackdays on YouTube, and the ProVida system that is in use in the video above... there is a definite use for it imho - even if it's just used to show off people's VMAX on the autobahns etc!!
Must admit, I wouldn't see a point in the lat/long info - all I was guessing at was a simple overlay on the video with speed and direction bottom left, date & time bottom right so as not to distract from the actual video.
Hep hep hep
Don't put this idea underground (please). This app could be REALLY interesting for a bunch of freak I know (I'm one of them too :-D)
I'm in a very big forum of EV and there, such video is really really researched. The fact that it has to be processed afterward made by a separate soft is no problem...our main target is to upload a video with speed, altitude...etc for comparison or simple burning thing like "Yeah I've the freakiest e-bike..ever" X-)))
This is interesting for e-bike but also for EVERY (on the road, in the wood...etc) people which are searching performances and want to share them
Hope someone like the idea. If not I make a thread on the endless-sphere forum that the guys come "show their motiviation" here
Cheeeeers and do it ;-)
Grüß,
H.
A lot of people have been waiting for this for a long time, but I don't think its possible on android yet.
Lets hope it will be on 3.0.
A friend said that one guy will release a update to his track logging app, for the iphone 4 within a few days that will add this functionality.
B1ny said:
A lot of people have been waiting for this for a long time, but I don't think its possible on android yet.
Lets hope it will be on 3.0.
A friend said that one guy will release a update to his track logging app, for the iphone 4 within a few days that will add this functionality.
Click to expand...
Click to collapse
Well, I'd love to be updated if something is released ^_^
I installed something along that line for my Jeep-carputer using Xport and what not...
http://www.youtube.com/watch?v=HdB7FksRd68
http://www.youtube.com/watch?v=jRzWAWOjnH0
More info on minicam project: http://www.curioustech.net/minicam.html
screen shot: http://www.curioustech.net/images/front.jpg
But I would love to see something like this for android. (would love this on my evo)
0okami said:
Well, I'd love to be updated if something is released ^_^
I installed something along that line for my Jeep-carputer using Xport and what not...
http://www.youtube.com/watch?v=HdB7FksRd68
http://www.youtube.com/watch?v=jRzWAWOjnH0
More info on minicam project: http://www.curioustech.net/minicam.html
screen shot: http://www.curioustech.net/images/front.jpg
But I would love to see something like this for android. (would love this on my evo)
Click to expand...
Click to collapse
Looks like there is something out there and its FREE! :
http://www.dailyroads.com/voyager.php
DailyRoads Voyager

AppInventor, Become an Android App Designer (Very Easy)

AppInventor is basically an online resource for making Android apps. However, to make them you don't need to write codes mostly, making this easier for people like me, who dream about actually being a dev.AppInventor, although is a great resource, but got lost in the forums .
The quality of app is really just dependant on the amount of time you are you wiling to spend on it, and how much time you have taken to understand the AppInventor program itself.
There are many apps that can be made from this, ranging to just info apps, to ones that provide links, and others that actually turn out to be mathematical games. Again, it is just up to the amount of time you decide to spend on the app itself, so don't expect your app to be something utterly brilliant the first time.
This can be used as a learning process. The basic logic behind any app development can be found in here.
So here are my first two attempts.
The first one is basically an app that provides me links.
'Indian Restaurants Guide'
This was my first attempt, so please bear my 'noobness'
The app basically provides buttons, which, when pressed lead the person to a website I built. I did not make it a a major thing, trying to draw traffic to the website, rather the website was built for the app. The app, and the website, both are low in content.
https://market.android.com/details?id=appinventor.ai_hateem_ha.glasgowcurrys&feature=search_result
'Neha Sharma Bollywood Actress'
This is my Second attempt
Basically, this app is a bit more complex, and a lot more logic was used.
The app is about an actress, and it gives some more info about her, and also provides links to her facebook and twitter profiles.
Further, it has also links which open up in the youtube application as trailers of her movies.
https://market.android.com/details?id=appinventor.ai_hateem_ha.trial&feature=search_result
The second app, if you notice was a bit more complex, and I had to make use of the Blocks Editor (a tool provided that helps you create the logic) much more. Also, I had to dig deep into the online resources about the app itself, to make sure that nothing in the design and the blocks went wrong. You get better at stuff as you go along, and I think this will be same.
Try Google AppInventor Now
http://appinventor.googlelabs.com/learn/setup/
Tutorials
https://sites.google.com/site/appinventorresources/home/tutorial-topics
'Publish Your App on Android Market'
Taking, it to the next step.
If you want to publish your apps on the Android market, you need to make an Android market publishing account.
The cost is 25$, but if you are even an amateur 'dev', this might be worth it.
With AppInventor, you can not think about generating revenue from the apps you make, unless they are exceptional.
However, once you make an account by going to
www.market.android.com/publish
you can start posting apps on the market.
All apps made on the AppInventor will need to be signed before you can put them on. However, before signing you might want to consider changing your app icon, because the one that comes from AppInventor is just the default one, and I expect you would want to add some personal touch.
Here are the steps on putting your own icon on the app.
[EDIT]
These steps below are not necessary now. In the Appinventor window, when you select Screen1 it will give you the option to set the icon for the app.
The steps below are here, if that does not work out or you are just trying to change the icon of any app.
1)- Get your finished .apk file and rename it from '.apk' to '.zip'
2)- Browse into the now '.zip' file (use any means you like 7zip, windows explorer, etc)
3)- In the first directory of your app you will see a folder called 'res', which will contain the image file.
Now I have tried replacing the file, but somehow it does not work, so select the 'res' folder and delete it.
4)- Make a new folder in the '.zip' folder called 'res'. Then make a subfolder 'drawable'
5)- Find your icon image that you want to put it.
The icon needs to be a 48x48 image in '.png' format.
I used Microsoft Paint on Windows 7 to resize my image to that size and then save as a '.png' file.
You can use that, or if on XP use the default image resizing tool called 'MS PowerToy'
Or you can use this program to resize the images
http://imageresizer.codeplex.com/releases/view/30247
6)- Place the image file in res\drawable\'your image file'.png
7)- Now re-name the image file to 'ya'
8)- Then rename the '.zip' file back to'.apk'
If you can't do it on your computer, send the file to your mobile, and use Astro to rename.
https://market.android.com/details?id=com.metago.astro&feature=search_result
9)- This bit's maybe an easier bit, signing your app.
Since there is no easy way to sign an app, I used this program which signs the app with your details.
http://amerkashi.wordpress.com/2011...version-of-app-inventor-apk-to-google-market/
Watch the video about this program, and all will be clear.
10)- After this get the '.apk' created which says 'zipaligned'
Goto your Android market dev account, and upload the '.apk'
Complete the steps, provide Screenshots, and another Icon. This time the icon
has a bigger size. 512x512. Use any way to Resize your image. Then make your '.apk' Active, and Publish your app.
Sounds maybe a bit complicated, but can be done easily if the steps are followed.*
Please leave your feedback concerning your experience with this program, also, please post any links to apps that you make using this.
*I have done all this on Windows 7, so the steps you need to take to complete the procedure might be different on a Mac.
Reserved (ONE)
Reserved (TWO)
Bump.........
Cool. Good info. I may give it a try sometime. Thanks
Sent from my King's Alliance Evo running 4G data
Wow, this looks like a real easy way to get into making some apps. Thanks for posting this, I'm going to give it a try.
Thanks, hateem, this is a really good intro to the service. I wish I'd had it when I started!
FYI, AppInventor is one of those Google Labs projects that's been canned. It's still open and there seems to still be some question as to whether they're actually going to shutter it or move it elsewhere and open source it. No, I'm not trolling, I've been an AI user since shortly after it was launched and have been following the discussions over at its Google Group.
I made an account about a year ago, but did not start using it till now.
I did hear some news about it being dropped off by Google, but I don't think that has happened yet, or will anytime soon.
Bump........
Sent from my HTC Desire using XDA App
New way added, to set the app icon.
Sent from my HTC Desire using XDA App
Cool thanks, i guess this is why there are a million horrible apps in the market lol
The number of apps made by appinventor on the market are low, due to the payment needed for a market account.
Sent from my HTC Desire using XDA App
Bump........
New SAT app coming soon. This will be a major advancement from the Restaurant app, and will hopefully contain a tinydb.
Sent from my HTC Desire using XDA App
Now I just need a decent idea!
Im thinkin of making an app which lets you take a snapshot and then edit it quickly, maybe u cud beat me to it?
Sent from my HTC Desire using XDA App
Is this Easy to use?
PMGRANDS said:
Is this Easy to use?
Click to expand...
Click to collapse
This is easier, in the sense that actual app development is exremely complicated. Parts of this (the really complicated apps which make use of webdb) are not easy to grasp, However, most of it is quite straight forward. Plus there are a lot of tutorial videos on this. Just search on youtube, and don't feel like you don't know anything after seeing a really complicated one cause that's really as hard as it gets.
Starters should really begin with Purr and paintpot app, and then maybe move on to making a twitter application and so on.
Sent from my HTC Desire using XDA App
Just made a quickn simple photo editing app, and a SAT guide using this, will be updating main post soon with links to them.
Sent from my HTC Desire using XDA App
App inventor can be frustrating at times due to some of its limitations, but all in all, its pretty good. I have seen that once MIT gets app inventor back from Google soon they have big plans to help it take off even more.
I have an app on the market too, its in beta, its free, and i havent really been working on it for very long. almost 1000 downloads in 2 weeks, so im happy.
Its a RPGish game, with barcode scanning, online battles, npc battles, items, leveling up, etc. Made a network with usernames/passwords, etc. App inventor can be pretty awesome if you use it to its potential.
Heres the link: Market Link
If anyone ever needs help with AI, email me at [email protected], I'd be glad to help.

Where to look to make a picker in app accessible to talkback?

Hello folks, Friend of mine who is blind has gone from iphone to android. They have an App they are attempting to use that came with a smart cooker, but there is one single aspect of the app that is hindering the usefulness. It is a Picker that comes up to set duration, Talkback just doesn't want to see it. So I i was thinking If I could decompile the app maybe I could somehow muddle my way into making it accessible. LOL... I got it de-compiled, looked over the XML's and JAVA and bam I'm lost. Now I am not asking for anyone to hold my hand or do this for me. But I was hoping someone might give me an idea of where to focus to make a change like this, From there maybe I can figure it out for future issues. At this point I am not even sure If I need to focus on change to an XML file or the JAVA itself. Any help would be awesome.
CLJNCO said:
Hello folks, Friend of mine who is blind has gone from iphone to android. They have an App they are attempting to use that came with a smart cooker, but there is one single aspect of the app that is hindering the usefulness. It is a Picker that comes up to set duration, Talkback just doesn't want to see it. So I i was thinking If I could decompile the app maybe I could somehow muddle my way into making it accessible. LOL... I got it de-compiled, looked over the XML's and JAVA and bam I'm lost. Now I am not asking for anyone to hold my hand or do this for me. But I was hoping someone might give me an idea of where to focus to make a change like this, From there maybe I can figure it out for future issues. At this point I am not even sure If I need to focus on change to an XML file or the JAVA itself. Any help would be awesome.
Click to expand...
Click to collapse
Not sure if the problem still exists, but there is a couple of things to look at.
First, check what Java class is used to render the Picker.
If it's a part of Android framework, check Stackoverflow to see if it has accessibility issues.
If it's an external class, you will need to modify it to expose it to Accessibility API.
For supported built-in views check XML files for android:contentDescription attributes.

Looking for an app and/or bluetooth expert. To modify an app.

Full disclosure: I dont normally do forums so sorry if I do this wrong.
I purchased a Bluetooth Purification Mask named Atmoblue.
It originated in China. Ive had it for a few months now and it has bluetooth and there is an app for it but it looks like its taking forever for it to be moved over to English.
My question is how hard would it be for a person (or me, with no experience at all) to pull the basic functions out of the app?
For example I want to bypass the wechat login (cause, no) and basically get the pairing function up and running along with the fan speed and some of the auto features in the app and create a basic app til they release the full thing.
If any of you also want to try I can send you the link to the apk. Or if you would do it and require payment at completion how much would that cost?
In case you need to see the device just google Atmoblue.
Thanks again everyone.
mastershino said:
Full disclosure: I dont normally do forums so sorry if I do this wrong.
I purchased a Bluetooth Purification Mask named Atmoblue.
It originated in China. Ive had it for a few months now and it has bluetooth and there is an app for it but it looks like its taking forever for it to be moved over to English.
My question is how hard would it be for a person (or me, with no experience at all) to pull the basic functions out of the app?
For example I want to bypass the wechat login (cause, no) and basically get the pairing function up and running along with the fan speed and some of the auto features in the app and create a basic app til they release the full thing.
If any of you also want to try I can send you the link to the apk. Or if you would do it and require payment at completion how much would that cost?
In case you need to see the device just google Atmoblue.
Thanks again everyone.
Click to expand...
Click to collapse
There is pretty much a 99.9% chance that you won't find anyone to do this for you. The best you can hope for is someone might give you some links to guides showing how to decompile and edit apk files. What you would modify in the apk file to achieve your purposes would require you doing your own research to figure it out. You can ask further questions along the way about the things that you don't understand, but there are no guarantees that you will get any useful answers.
In other words, be prepared to dig in and do the work yourself, if you really want to accomplish this feat. If not, get used to dealing with the app the way it is.
Sent from my SM-S767VL using Tapatalk
Yea, i started researching the day I posted this. I've been reading and reading and reading. Ive gotten to the point where I now have access to the battery percentage. Currently, trying to figure out the characteristics in the device itself and the values needed to change each of the modes. Also, it looks like the app from the company is pretty much useless to try to use. Based on the code (from what I can understand after 2 days of research and starting off with 0 coding knowledge) the app has to use wechat to basically be able to access a server and then the server sends it back to the phone then the device. Meaning I can't just look in the code for what values I need, unless I was able to actually sign into wechat and record the log. Which I can't do since I don't have access to wechat.
So now I'm currently looking up how to write code in the programs I've found to write it and create a ui. Ive at least figured out uuids and figured out how to call up the battery percentage now. Only like 3 more settings to go! Wish me luck lol

Categories

Resources