Related
I faced with the problem, that the built-in HTC e-mail client is not handling the ACTION_SEND Intent correctly. The "To" field cannot be populated using the standard API.
I used the following (obviously with different values) code:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "email text");
sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject");
sendIntent.putExtra(Intent.EXTRA_EMAIL, new String[] {"[email protected]"});
sendIntent.setType("message/rfc822");
startActivity(Intent.createChooser(sendIntent, "Title:"));
I selected the HTC e-mail client (with Exchange account). All fields were correct, but the "To" was empty.
Do you have any idea on that? (I tried to check whether the code is available in the kernel, but as I see the applications are not in that... )
Today I realized that the same problem doesn't occure when I'm trying to the send an e-mail to the developer of an application on the Android Market. I mean the Market application is able to prefill correctly the form on the built in e-mail application of the HTC Hero.
Is it possible to look into the source of the Androind Market application? Is there any other application that works well, and the source may be accessible? (I would dig into to get the solution out of it...)
I found a workaround that is not perfect but a bit better on HTC. You can create a “mailto:” uri from the to, subject, and body of the email (see RFC 2368), and open it with ACTION_VIEW intent. First of all the phone will offer only e-mail client, you can select default client (to avoid selector next time), and the to field is working in GMail and HTC mail client too. The only issue is that the HTC Mail client is not able to handle end-of-line characters in this case. So you have to send one line text in body.
Here you can find example code: (see method “sendEmail()) http://code.google.com/p/bankdroid/source/browse/trunk/bankdroid.soda/src/bankdroid/soda/SMSListActivity.java?spec=svn77&r=77
There is an other known issue that the K-9 e-mail client is not able to handle this type of Intent at all. I’ve already opened a ticket for them.
I'm a developer and I want to develop my first official market app. I've developed a couple of applications but just for personal use and experience. I have gathered a group of very talented developers and we are onto something big.
What would be an app that you would like to see developed? The app (or apps) with the most popular demand will get started on immediately.
We've been considering a couple of ideas. Anyone down for Airplay for android? tun tun tuuuuun..or maybe not. Maybe a crazy cross platform game?
We are open to suggestions.
Thanks
oblivior72 said:
I'm a developer and I want to develop my first official market app. I've developed a couple of applications but just for personal use and experience. I have gathered a group of very talented developers and we are onto something big.
What would be an app that you would like to see developed? The app (or apps) with the most popular demand will get started on immediately.
We've been considering a couple of ideas. Anyone down for Airplay for android? tun tun tuuuuun..or maybe not. Maybe a crazy cross platform game?
We are open to suggestions.
Thanks
Click to expand...
Click to collapse
This is an easy one
Develop and apk that fully integrates your Contacts with your Calendar. So if I want to schedule an appointment with John I just go to is contact record and select "make appointment". It then creates a link between John and the Calendar for that appointment. So if you are looking at the appointment you can easily call John, navigate to using address or add notes to his record.
Sent from my PC36100 using XDA App
Thats not a bad idea. I understand where you are coming from. It would actually come in handy. It would have to be an extension to the original android operating system. Unless I were to make an entire new contact app that would integrate these features easily.
Towards the end you say "..looking at the appointment you can easily..."
do you want to be able to just click his address from the calendar and open up navigator?
I'm too lazy to pick up the books and relearn what all I need to know, but, I've had this idea tossing around in my head for awhile.
Make an app to basically create a data set and determine your battery estimated maH, and if you need to recallibrate it. Once you have all that data, there are tons of things you can do with it as well, its just a matter of making the program light weight enough to run in the background so it doesn't re-do calculations and eat up juice.
Laurentius 26 Roms
bstok001
An actual tv remote
animal7296 said:
An actual tv remote
Click to expand...
Click to collapse
Considering most TVs use IR, and the evo lacks an IR port, there is quite a substantial hardware limitation.
How about a torrent app? Utorrent?
here you go look read this one >>>>>>>>>>>>>>>>>>>>>>>
you make this app AND ILL SCRATCH UR BUTT AND CALL U DADDY LOL
make a app that prints me real 100 dollar bills lol jk
oblivior72 said:
Thats not a bad idea. I understand where you are coming from. It would actually come in handy. It would have to be an extension to the original android operating system. Unless I were to make an entire new contact app that would integrate these features easily.
Towards the end you say "..looking at the appointment you can easily..."
do you want to be able to just click his address from the calendar and open up navigator?
Click to expand...
Click to collapse
The concept is so that you can create an appointment for a contact in your calendar that is linked between the contact and the calendar.
For instance, when I make an appointment with Joe, Joe's information such as his phone number and address are instantly accessible from the calendar. That way if I need navigation to Joe's address I can access it directly from the appointment without having to manually type it into the calendar program.
These links could also easily allow me to say "show me all appointments for Joe". Or if I am on way to Joe's and running late I can call or text Joe from the appointment record instead of having to look it up.
The idea is to automate and reduce duplication of effort. Never type the same information twice - link to it instead. There is an app called "Contact Event" that comes close to doing this the but it doesn't actually create a link, it just pastes contact data automatically into the calendar record when creating it. The difference would be the link which would make it a relational database concept as opposed to just cut and paste.
When creating a new contact your app should also generate a Primary Key that uniquely identifies that contact. Then when you make an appointment for that contact, you simply drop their Primary Key into the appointment record, link the two tables and you are done.
Sent from my PC36100 using XDA App
jhoffy22 said:
How about a torrent app? Utorrent?
Click to expand...
Click to collapse
There's already torrent apps. AndTorrent and Swarm.
Sent from my PC36100 using XDA App
animal7296 said:
An actual tv remote
Click to expand...
Click to collapse
Phajen is absolutely correct, the problem comes with the hardware limitation. It's almost ipossible unless the tv itself is on wifi
krazydude4g said:
here you go look read this one >>>>>>>>>>>>>>>>>>>>>>>
you make this app AND ILL SCRATCH UR BUTT AND CALL U DADDY LOL
make a app that prints me real 100 dollar bills lol jk
Click to expand...
Click to collapse
Trust me if I knew how to develop something like this I wouldnt be looking for ideas on forums.
What you CAN do is take one dollar bills remove the metallic ink they have on them if you put them to soak in sodium combined with carbon...ehhhh.....never mind.
mitchellvii said:
The concept is so that you can create an appointment for a contact in your calendar that is linked between the contact and the calendar.
For instance, when I make an appointment with Joe, Joe's information such as his phone number and address are instantly accessible from the calendar. That way if I need navigation to Joe's address I can access it directly from the appointment without having to manually type it into the calendar program.
These links could also easily allow me to say "show me all appointments for Joe". Or if I am on way to Joe's and running late I can call or text Joe from the appointment record instead of having to look it up.
The idea is to automate and reduce duplication of effort. Never type the same information twice - link to it instead. There is an app called "Contact Event" that comes close to doing this the but it doesn't actually create a link, it just pastes contact data automatically into the calendar record when creating it. The difference would be the link which would make it a relational database concept as opposed to just cut and paste.
When creating a new contact your app should also generate a Primary Key that uniquely identifies that contact. Then when you make an appointment for that contact, you simply drop their Primary Key into the appointment record, link the two tables and you are done.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Interesting...I'm gonna check Contact and Event and see what it's like, I would just have to beef it up a little bit. I will get back to you one this but I like the idea.
An app that lets you add on to the existing code to your liking.
Or a series of apps, a basic twitter client, a home launcher, a clock widget. Something easy we could build on *from the phone* without the use of Eclipse. If that's at all possible.
We now have Stericson's Signapktic app that allows us to sign zips, apks, and jar file from our phone so we're slowly getting closer to something like that.
Stericson's apps are pretty awesome.
How about and app that lets you dynamically re-arrange your homescreens without havin to drag icons around?
You can do this in the MIUI Rom but I hate the apple-like interface so I dont use that rom.
I know u woild get rich off the apl alone lol
Sent from my PC36100 using XDA App
in line call recording
please create an evo ap that will record calls without the speakerphone activated.
Whenever I send an email from my gmail account from WP7 on my HD2 it shows up as from "al n" instead of my full name. I might have put this in somewhere quickly when setting it up, but I don't remember where and can't find it anywhere. My gmail name is my full name, and my windows live name is my full name. Does anyone know where I can change this?
Check this thread and see if it helps
http://social.answers.microsoft.com...7/thread/e04536b7-64c4-4fe4-a768-3dd7c5bd9940
PG2G said:
Check this thread and see if it helps
http://social.answers.microsoft.com...7/thread/e04536b7-64c4-4fe4-a768-3dd7c5bd9940
Click to expand...
Click to collapse
Thanks, that did it. It was actually my google account name that wasn't my full name. The strange thing is that WP7 is the only thing I have ever seen use my the name on my google account - gmail pulls the name I have in Gmail.
Thanks again.
Just picked up a request from the DEV IDEA POOL
danchar4 said:
I have a very simple app request to target unlocked phones. Basically a one button switch between primary LiveID accounts based on sensboston's work: http://forum.xda-developers.com/showthread.php?t=1335240
1. Launch app
2. app asks for email address
3. user types in email address or selects email from list of last-used addresses
4. app asks "Are you sure?" with suitable warning
5. app writes selected email address to following regkeys:
Code:
[HKCU\Software\Microsoft\ActiveSync\Partners\{B2830118-7BC6-4A74-8C9A-3D8B9CEF88E0}]
"Email"[email protected]
"User"[email protected]
[HKCU\Software\Microsoft\IdentityCRL\Environment\Production]
"DefaultID"[email protected]
6. app automatically reboots phone
Simple enough, right?
Click to expand...
Click to collapse
Here it is!
Because I made no test on myself please give me feedback if the registry values get applied
ne0cr0n, unfortunately, "my" method has some important cons (you should list 'em) - after that change you'll be not able to upload pictures to SkyDrive, also some accounts like Twitter will be non-functional I've tried to find some workaround but without success...
sensboston said:
ne0cr0n, unfortunately, "my" method has some important cons (you should list 'em) - after that change you'll be not able to upload pictures to SkyDrive, also some accounts like Twitter will be non-functional I've tried to find some workaround but without success...
Click to expand...
Click to collapse
but you can revert it back, right?
The new LiveID could be associated to a different market zone, which you could use to buy some apps with your correct credit card infos, then revert back to your main LiveID, and regain all regular functionalities like auto uploads to skydrive, twitter integration, etc.
Am I right?
http://forum.xda-developers.com/showthread.php?p=25500576#post25500576
kevyn82 said:
Am I right?
Click to expand...
Click to collapse
I'm so sorry but I can't confirm - just never tested this way. I've researched that hack 'cause damn Verizon blocked and deleted my very-very old email ( @verizon.net) what I've used during 11 years, and also as my LiveID email.
Wow dude thanks for writing the app so quickly. What is the etiquette for sharing apps? Are you supposed to share source code too? I don't want to be rude by asking you for the source
I don't use twitter, but I was able to upload a photo to skydrive just fine after swapping LiveID's. Steps:
reset my phone with my own liveID
download bunch of apps from appstore
dev unlock/interop, etc
manually edit registry and change to my wife's LiveID (she has zunepass on her ID which is why I wanted to swap to hers)
reboot phone
take picture
upload to skydrive
login to skydrive app and see that picture is there on *my* skydrive account, not my wife's
So skydrive integration with picture hub/camera obviously stored my liveID and credentials somewhere other than the regkeys I edited. Most likely Twitter is the same way.
I presume the credential data is stored encrypted in some weird GUID key with no obvious pattern. Too bad there is no regmon/procmon tool like on Big windows, otherwise I could figure it out in a few seconds... Although somehow I doubt that you can use provxml to import export those keys to re-write encrypted credentials. That would be a pretty bad exploit.
So I ran IDSwitch and it gave me the error "no root access". Hmm. So I went into WP7 Root tools and switched on "trusted" for the app.
So a pre-requisite for running the app is to have WP7 root tools? I'm kinda new at this so perhaps that is an assumption of any app that is going to do interop/native stuff? In order to get it to work you have to set it to "trusted"?
Anyway the app let me type in the new liveID and rebooted the phone, but upon booting up, it appears that the old LiveID is still there in the 3 registry settings. I ran it a second time and the app remembered the address I typed in so thats cool. BUt again after rebooting, it failed to modify the registry entries.
Can you post up a debug version with some breakpoints or console spew? I could try to attach a debugger on my end (not sure I know how to do that, but I can try to figure it out)
sensboston said:
ne0cr0n, unfortunately, "my" method has some important cons (you should list 'em) - after that change you'll be not able to upload pictures to SkyDrive, also some accounts like Twitter will be non-functional I've tried to find some workaround but without success...
Click to expand...
Click to collapse
Thanks for the info. I will add a warning and how to use message when launching the app for the first time.
danchar4 said:
Wow dude thanks for writing the app so quickly. What is the etiquette for sharing apps? Are you supposed to share source code too? I don't want to be rude by asking you for the source
Click to expand...
Click to collapse
I will do that, but the code is kind of ugly xD
danchar4 said:
Can you post up a debug version with some breakpoints or console spew? I could try to attach a debugger on my end (not sure I know how to do that, but I can try to figure it out)
Click to expand...
Click to collapse
I uploaded the source. Should make things much easier
I tried it on Samsung Focus Mango updated with WP7 Root Tools. Even though it reboots but it does not change the primary id. After reboot when I open the app again, it shows the primary id as the old id and not the id to which I wanted to switch.
Found the bug. I used the content from to current ID textbox not the new ID textbox -.-
I guess nobody tested it or I am getting a different result. Here is what happens :
1. ID A which is primary ID in my Account with No CC.
2. I switch from ID A to ID B. ID B does not have a CC.
3. When I access Marketplace, The region used is according to ID B.
4. Next I Move to buy an App and it asks me to signin with ID A instead of ID B.
5. For free apps, I can easily download it without going to login page ever which is pretty obvious.
Today Evening I will try out to buy app by signing with ID A when it sends me to login page of ID B by first sigining out and then signing again.
Few things I noticed :
1. Facebook, Twitter, Skydrive all was working.
2. It takes a while for the OS to realize the ID is new and hence may take around a minute or more to change marketplace.
3. I downloaded a free app with the swtched id and used it without any issues.
4. I even updated a free App which was bought using the primary ID with the new ID.
5. Email ID A stopped working. It did not show any email nor it gave an error of wrong password which is pretty odd.
My Thoughts :
1. This will be useful for parents who have kids carrying a Windows Phone who do not want to give them credit card access but using this they might buy apps for kids.
2. I still need to test but this will work for IDs which are in same region. For example I have a US id to which if I want to add a CC, the country is fixed and hence I cannot use an Indian CC with it.
wpxbox said:
1. Facebook, Twitter, Skydrive all was working.
Click to expand...
Click to collapse
Try to share pictures from camera to SkyDrive...
wpxbox said:
2. It takes a while for the OS to realize the ID is new and hence may take around a minute or more to change marketplace.
Click to expand...
Click to collapse
Try to reboot after LiveID change.
Just tried it out and it worked. The file was uploaded to Skydrive account of the primary Live id.
Wait... What "primary Live id" and what are you tried? New one or the old one? Have you tried:
- change LiveID to new one
- reboot handsets
- go to pictures hub and share picture to the SkyDrive ?
When I said Primary Live Id I mean the ID with which the phone was configured.
1.Phone configured with ID A
2. Change to ID B using the app, Reboot
3. Upload to Skydrive and it was stored in ID A Skydrive Account.
He-he, it's exactly what I mean by "not working". For example if you change first (original) LiveID email to the new one (as I had to do), you'll be not able to upload pictures to SkyDrive, and can't login to the Twitter account. So please do not confuse people.
sensboston said:
He-he, it's exactly what I mean by "not working". For example if you change first (original) LiveID email to the new one (as I had to do), you'll be not able to upload pictures to SkyDrive, and can't login to the Twitter account. So please do not confuse people.
Click to expand...
Click to collapse
Oh Ok I understand now what you said by breaking. The new ID cannot be used for Skydrive or Facebook or Twitter etc in short, anything connected with old Live id.
Basically its not a true switcher and can only be used to buy apps with the new account connected with CC
Hi all
The whole idea of this app is JUST to let you assign an account that will give u the ability to buy apps from marketplace using CC, if your original ID have problem with adding CC information. So it is not to change you ID permanently. You can read my thread if u want. Anyway thanks op for making the app.
I can confirm this works. Just bought an app using a different account and it works. Editing a video on this so will be up in couple of hours.
As promised, Here the link to the video we made http://youtu.be/2H7dr7ZzJZs
Hello Beautiful community of xdadevelopers!
I am just getting started with cordova/phonegap
I was so curious how can I connect to mysql in cordova and display its contents in app. So I came across this website that shows how to achieve the same "https://codesundar.com/phonegap-php-mysql-example/ ". I am basically trying to make android app using my web skills so I came across this ADF 'Cordova'.
I am just in alot of doubts but first one is security. When I write a code in php to connect and fetch data from mysql to display database or use mysql for user login credentials verification and build it into .apk anyone can reverse that and decompile the .apk to fetch the php code and the credentials used to access the database right?
What is the secure way around this?
As I know php is a server side scripting language so .php files are not accessible from browser so that makes it a bit secure but in case of cordova the php files will be compiled in the .apk with cordova build command
Please clear my doubt
introuble361 said:
Hello Beautiful community of xdadevelopers!
I am just getting started with cordova/phonegap
I was so curious how can I connect to mysql in cordova and display its contents in app. So I came across this website that shows how to achieve the same "https://codesundar.com/phonegap-php-mysql-example/ ". I am basically trying to make android app using my web skills so I came across this ADF 'Cordova'.
I am just in alot of doubts but first one is security. When I write a code in php to connect and fetch data from mysql to display database or use mysql for user login credentials verification and build it into .apk anyone can reverse that and decompile the .apk to fetch the php code and the credentials used to access the database right?
What is the secure way around this?
As I know php is a server side scripting language so .php files are not accessible from browser so that makes it a bit secure but in case of cordova the php files will be compiled in the .apk with cordova build command
Please clear my doubt
Click to expand...
Click to collapse
CAN ANYONE MOVE THIS THREAD TO https://forum.xda-developers.com/coding/web-apps ?
I don't have enough privilege to create a thread there
introuble361 said:
Hello Beautiful community of xdadevelopers!
I am just getting started with cordova/phonegap
I was so curious how can I connect to mysql in cordova and display its contents in app. So I came across this website that shows how to achieve the same "https://codesundar.com/phonegap-php-mysql-example/ ". I am basically trying to make android app using my web skills so I came across this ADF 'Cordova'.
I am just in alot of doubts but first one is security. When I write a code in php to connect and fetch data from mysql to display database or use mysql for user login credentials verification and build it into .apk anyone can reverse that and decompile the .apk to fetch the php code and the credentials used to access the database right?
What is the secure way around this?
As I know php is a server side scripting language so .php files are not accessible from browser so that makes it a bit secure but in case of cordova the php files will be compiled in the .apk with cordova build command
Please clear my doubt
Click to expand...
Click to collapse
Create PHP webservices to manipulate data on server.
Consume the services using fetch API or jquery AJAX in cordova app side.
Or you can use Ionic Framework which uses Http to use webservices.
DO Not use server-db credentials inside an app. There is no way to secure the credentials .
It's generally very poor security practice to use cordova in that way.