Hi there, need some help coding an app, it's similar to somekind of "who wants to be a millionaire?"
The base is that there is a question and 4 variants each page(window), answering one question leads you to the next one, the problem is that i don't know how to connect the windows.
i have kind of
Q1.cs
Q2.cs
....
Q10.cs
------
form1.cs - which is the main window
the code is
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("Right! go to the next", "Information");
?????????????? // for example Q3 is next which is in other window with other image and style, and which is already created as Q3.cs in same project
}
i don't know what to put inside to call for example next question(window) same with menu items like About and Settings...
Please help. maybe somekind of link with tutorials.
msdn i know, didn't found this moment there.
Thanks.
private void button1_Click(object sender, EventArgs e)
{
if(MessageBox.Show("Right! go to the next", "Information")==dialogresult.Ok)
{
//<other formname> maybe q1
q1 = new q1();
if(q1.showdialog()==dialogresult.ok)
{
//whatever
}
}
?????????????? // for example Q3 is next which is in other window with other image and style, and which is already created as Q3.cs in same project
}
your problem is not really a spc mobile problem
so any c# net examples you can dig up can help you
to be more precise
Rudegar thank you, but it isn't quite what i am searching for,
here is the image which probably will explain better what i ask/search.
hope somebody can help with code.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
there is Form1.cs and Form2.cs, how to pass from one to another using button_click event?
private void options_click(blablabla bla)
{
form2 myform = new form2();
myform.showdialog();
}
private void back_click(,,,,,)
{
Close();
}
Without knocking your method, why have you not got one page that has the buttens etc set up and change them when the questions change, rather then have 10 forms that are exactly the same?
Rudegar THANK YOU! that was it! it works perfect! RESPECT for your help!
MrRalphMan well because there will be different forms - ones with textbox to fill in, others with guess the image, others with sound to recognise and so on...
the purpose of the programe should be E-Learning - foreign language learning app, it will help user study new words of the new language.
Rudegar Thank you!
Related
Google disclose API document at http://developer.android.com/reference/classes.html.
However many useful classes and methods hidden by Google and manufacture, and developers be restricted to implement more advanced function.
For instance, the Bluetooth API was disclosed at Android 2.3, but it's available at Android 2.2 already. And the "android.randerscript" package for 3D calculation was disclosed at Android 3.0, but it's existed at Android 2.3 already.
Google list 3112 classes at API document, but this tool found 9082 classes at Galaxy Nexus. In other words, more than 5000 classes were hidden by Google, and those classes may be the key point to help developer to implement advance function.
Try to discover more useful classes and method at your Android device, it may help you to make more miraculous function at your application.
You can download this tool at URL below.
https://market.android.com/details?id=com.twrd.yulin.classminer
This is going to be fun
Awesome. Thank you.
Very Awesome.
Thanks
9110 classes
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AWESOME! Thanks a lot
This is absolutely useful, when you want to develop, without going to your browser each time and to search it.
A nice time-saver !
Thank you !
Really Awesome.
Thanks!
I was just wondering, would it be possible to scan for Content Providers as well? I guess that would make the app even more useful
forceu said:
I was just wondering, would it be possible to scan for Content Providers as well? I guess that would make the app even more useful
Click to expand...
Click to collapse
Dear forceu,
Does you means scan context which provided by ContentProvider? I'll study for that, thanks for your suggestion.
No, I actually meant scanning APKs for declared ContentProviders in the Manifest. (Eg the SMS-Provider).
And, if possible, list the needed permission for the content provider (should be declared in the manifest as well).
Example in a manifest:
Code:
<provider android:name="xxx.NotesContentProvider"
android:authorities="xxx.NotesContentProvider"
android:readPermission="xxx.PERMISSION" />
Nice ill be giving this a try
Hello everybody!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Magic Pet!
Requires:
Android 1.6+
Access network state
Camera
Internet
Just put and move your hand front of the camera.
And then, the magic pet will follow it!
Warning! For better results while using this software,
please, be aware of the following recommendations :
- Use it, in a place, well lit by white light.
- Move your hand in front of a black or white wall.
- Wear long sleeves.
- Wear monochrome clothing, white or gray.
Download
Available on slideme
And as direct download
Enjoy!
Hello everyone!
The Magic-Pet! Now available in google play!
Demo in video
http://www.youtube.com/watch?v=meautdFYgDw
Enjoy!
Hello, a new demo in video
http://www.youtube.com/watch?v=FWEti3X5nlk
You can use this application as a head tracker too.
But without eyes detection. :cyclops:
Enjoy!
上班累就不说了,特别是在中国,上网还得翻墙,苦逼的天朝。
Wow! I am really impressed in this application!
Would love to see more features etc.
PS : Is this open source? Would love to see the codes out. Thanks
Hello!
I think that is not hard to look in it ^^
So, you can check out the Preview class at http://bit.ly/Oa0XvQ
This part does all the work
Enjoy!
mcidclan said:
Hello!
I think that is not hard to look in it ^^
So, you can check out the Preview class at http://bit.ly/Oa0XvQ
This part does all the work
Enjoy!
Click to expand...
Click to collapse
Thank you so much for this! Will have a look at it and see how can I use it. Just started coding for Android few weeks back and I have an idea in mind that is somehow similar to this. Dont really think i will know how to use it but i will try my best. Don't worry, I with give you full credit! Thank you once again! Really appreciate it!!
You're welcome
The class is ready to use as a SurfaceView.
Just change the package name.
EDIT:
I have changed some stuff to allow to use it as it is.
Hello!
An android sample project is available for download at http://bit.ly/PXmkbb
Enjoy!
Hi!
I'm not sure if this is the correct place where to ask this, but at least Subforum name rings a bell for me.
I've recently installed "AdAway" on my "Huawei U8350" (Android 2.2.2) in order to block ads on websites.
Since this application doesn't work as "AdBlock Plus" does for "Mozilla Firefox" (hiding blocked elements, etc), the places where ads were used to be displayed have been replaced with a "website error" dialog, telling me that these sites couldn't be loaded.
Here's an example (taken from "Dolphin Browser":
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In some cases, these dialogs are pretty long, and sometimes they change the visible area on websites, so, their layout is affected (height gets increased):
Since my phone's Display is quite small, I'd like to know if there's a way to change/customize these dialogs in order to gain working areas.
I'd like to know if were possible to modify these dialogs to something like these (being C my favorite):
I could see that inside "framework-res.apk" (assets folder) there's the "upside down Android" image under the name "android-weberror.png".
The problem is that I don't know where the dialog text could be located at (or if it is located inside Dolphin Browser apk files).
I've to add that I couldn't find any "SystemUI.apk" file; it has "framework-res.apk" only (as I've read, it seems to be usual, since it's still a Froyo, but I could've been searching on the wrong path).
I hope that someone could guide me to complete this little mission, by providing me of necessary info and help.
Thanks in advance!!
Framework-res.apk file
/res/raw(-locale) has the html file
/res/values/strings.xml has the texts depending on the error:
<string name="httpErrorUnsupportedAuthScheme">The site authentication scheme is not supported.</string> for example
This is the syntaxis (string name="httpErrorxxxxxxxxx")
Thank you so much!
I've been able to edit "loaderror" and "nodomain" files from "raw" folder.
This is what I did for "nodomain":
Code:
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
<title>Site Unavailable</title>
<style type="text/css">
body { margin: 0px; padding: 0px; }
</style>
<body>
<p><img src="file:///android_asset/webkit/android-weberror.png"></p>
</body>
</head>
</html>
I hid URLs inside that upside down Android image, making it like a link object.
I haven't changed anything from "strings.XML" yet (probably unnecessary for now).
However, ads areas (height/width specified by website itself) are still there, but all has been replaced by that upside down Android only
Thanks again for your help Browser's visible area looks cleaner now!
OK so this is a sort of experimental app that needs some testers. It's not in play yet but the apk is attached to the bottom of the OP. I'm just curious how many people would find something like this useful and wonder if I should carry on making it or just abandon it. Basically the app works as a sort of shortcut for frequently typed phrases or whatever that you may constantly type out that you may not want to. So you create a keyword and a string of text associated with that keyword. You can now cycle through keywords via the widget or the app itself and click on the keyword and have the associated text copied to clipboard for easy pasting wherever you may want
widget usage:
- Click left/right arrows to cycle database
- Click keyword/string to copy to clipboard
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
APK:
http://ompldr.org/vaTJyMg/hotstrings.apk
Would you mind explaining it a little better?
[Sry my native language isn't english]
I didn't get it. What exactly does it do?
Sent from my GT-I9070 using xda premium
http://www.autohotkey.com/docs/Hotstrings.htm
That link will give you an idea of what they are. I think what needs to happen for this to be worthwhile is a needs a custom kb to work with since you are unable to interact with these keywords in other apps(hence the clipboard). With a keyboard I could have a keyword for a really long bit of a text and I just type the keyword out and it will autoreplace with the associating string saving you time.
nlygamz said:
Would you mind explaining it a little better?
[Sry my native language isn't english]
Click to expand...
Click to collapse
Basically, you create short texts that expand to the full phrase/sentence you like. The only similar app I found was https://play.google.com/store/apps/details?id=com.agileapps.autocorrecteditor&feature=search_result which has fairly negative reviews and still has 500-1000 downloads. I expect this is about the size of audience the hotstrings app would get, perhaps slightly more if it is rated more positively.
Hi I know this is old but I'm looking for something like this! I had this option on my iPhone way back when, it's the only thing I miss about it. I use the Swype keyboard so I don't know if that will conflict with your app but it's worth a shot! The link seems to be down, is there any way I could get this apk to try out?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
myA - Develop your assistant
myA lets you download and customize mobile assistants (known as “A’s”) to automate your daily tasks and connect you with your devices.
Simply install the myA app to start using A’s on your Android device
What are A's?
A’s are digital mini-programmes, which simplify and automate your everyday. Whether it’s finding nearby cafés, sending messages automatically
to your loved ones, or managing your devices remotely, A’s integrate with all your services to make life easier.
Here are just a few examples of how A’s can help you:
myA offers a full API that lets you program your own scripts!
See our API Documentation at mya.me/api
Boost your productivityAutomatically mute your mobile at night,
Receive smart notifications,
Control your phone by voice.
Be closer to the people that matterAutomatically send messages to your loved ones,
Know what to give your friends on their next birthday,
Find out which of your friends are single.
Discover the world around youGet restaurant suggestions for dinner after work,
Find great deals when visiting a new city,
Never miss your favourite bands when they are in town.
Get started now!
Learn how to make myA your own at http://mya.me/learn
Discover myA at mya.me
Download
or download APK from lnk.to/myA-APK
Code Examples
You can develop A's with JavaScript using our API
See Code Examples by visiting our Blog
PHP:
/*********************************************************
* Setup
*********************************************************/
var baseUrl = "http://api.jamendo.com/v3.0/radios/";
var avatarIcon = "http://icdn.pro/images/es/j/a/jamendo-icono-7192-128.png";
icon = avatarIcon;
var isVoice= false;
var askedRadio;
/*********************************************************
* Setup
*********************************************************/
function getRadio(radio){
var uri = web.makeUri(baseUrl+"stream")
.param("client_id","5728989a")
.param("format","json")
.param("name",radio)
.build();
log.info(uri);
return web.readJson(uri);
}
function getCategories(){
var uri = web.makeUri(baseUrl)
.param("client_id","5728989a")
.param("format","json")
.param("limit",50)
.build();
log.info(uri);
return web.readJson(uri);
}
function checkRadio(said){
var list = t.text.list.split(",");
for (var i in list){
if (said.indexOf(list[i])>=0){
return list[i];
}
}
}
Thanks!
Thank you!
Galaxy Latino said:
I download the app from the Play Store but when i open the app is givin me FC
LG G2 with Android 4.4.2 Mahdi Rom [AOSP]
Click to expand...
Click to collapse
We'll check that!
Thanks for your response!
Fixed
Galaxy Latino said:
I download the app from the Play Store but when i open the app is givin me FC
LG G2 with Android 4.4.2 Mahdi Rom [AOSP]
Click to expand...
Click to collapse
A new version was deployed to play. In the meantime: please use the following link to directly load the APK.
https://xndme-static.s3.amazonaws.com/releases/latest.apk
Thank for your help :good:
https://xndme-static.s3.amazonaws.com/releases/latest.apk
Thanks!
Does it work now?
Galaxy Latino said:
Thanks!
Click to expand...
Click to collapse
Is the issue fixed now?
Does it work now?
Interesting! I will continue to follow your project for sure
Limit8 said:
Interesting! I will continue to follow your project for sure
Click to expand...
Click to collapse
Nice to hear that, thanks!
Can someone post a mirror? I can't get the download to go thru..